Remove configure probe for shm_open.
authorThomas Munro <tmunro@postgresql.org>
Thu, 4 Aug 2022 21:19:36 +0000 (09:19 +1200)
committerThomas Munro <tmunro@postgresql.org>
Thu, 4 Aug 2022 21:19:36 +0000 (09:19 +1200)
commit098f4d813b69b4f88943afa777ae4bba5166f803
tree41a7ade08efe9124b19ae11acdcd68c297c6f271
parentbdb657edd6db1e471437d62f4642674a801ef32c
Remove configure probe for shm_open.

shm_open() is in SUSv2 and all targeted Unix systems have it.

We retain a HAVE_SHM_OPEN macro, because it's clearer to readers than
something like !defined(WIN32).

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CA+hUKGJ3LHeP9w5Fgzdr4G8AnEtJ=z=p6hGDEm4qYGEUX5B6fQ@mail.gmail.com
configure
configure.ac
src/include/pg_config.h.in
src/include/port.h
src/tools/msvc/Solution.pm