pgsql: Remove configure probes for sys/ipc.h, sys/sem.h, sys/shm.h.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove configure probes for sys/ipc.h, sys/sem.h, sys/shm.h.
Date: 2022-08-13 12:16:44
Message-ID: E1oMq4I-000aeV-TB@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove configure probes for sys/ipc.h, sys/sem.h, sys/shm.h.

These are in SUSv2 and every targeted Unix system has them. It's not
hard to avoid including them on Windows system because they're mostly
used in platform-specific translation units.

Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/CA%2BhUKG%2BL_3brvh%3D8e0BW_VfX9h7MtwgN%3DnFHP5o7X2oZucY9dg%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/37a65d1db14658bc75faa3aea7bd5a064118d135

Modified Files
--------------
config/c-library.m4 | 5 +----
configure | 7 ++-----
configure.ac | 3 ---
src/backend/port/sysv_sema.c | 6 +-----
src/backend/port/sysv_shmem.c | 8 ++------
src/backend/storage/ipc/dsm_impl.c | 6 +-----
src/include/pg_config.h.in | 9 ---------
src/tools/msvc/Solution.pm | 3 ---
8 files changed, 7 insertions(+), 40 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-08-13 17:37:15 pgsql: Remove configurability of PPC spinlock assembly code.
Previous Message Peter Eisentraut 2022-08-13 08:42:17 pgsql: Add missing fields to _outConstraint()