Remove configure probe for sys/select.h.
Thomas Munro <tmunro@postgresql.org>
Remove configure probe for sys/select.h. <sys/select.h> is in SUSv3 and every targeted Unix system has it. Provide an empty header in src/include/port/win32 so that we can include it unguarded even on Windows. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/CA%2BhUKG%2BL_3brvh%3D8e0BW_VfX9h7MtwgN%3DnFHP5o7X2oZucY9dg%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +1 −1 |
| configure.ac | modified | +0 −1 |
| doc/src/sgml/libpq.sgml | modified | +1 −3 |
| src/backend/libpq/auth.c | modified | +1 −3 |
| src/backend/postmaster/postmaster.c | modified | +1 −4 |
| src/backend/tcop/postgres.c | modified | +1 −3 |
| src/bin/pg_basebackup/pg_basebackup.c | modified | +1 −3 |
| src/bin/pg_basebackup/pg_recvlogical.c | modified | +1 −3 |
| src/bin/pg_basebackup/receivelog.c | modified | +1 −3 |
| src/bin/pgbench/pgbench.c | modified | +0 −2 |
| src/bin/pg_dump/parallel.c | modified | +1 −3 |
| src/fe_utils/parallel_slot.c | modified | +0 −2 |
| src/include/pg_config.h.in | modified | +0 −3 |
| src/include/port/win32/sys/select.h | added | +3 −0 |
| src/interfaces/libpq/fe-misc.c | modified | +1 −3 |
| src/port/pgsleep.c | modified | +1 −3 |
| src/test/examples/testlibpq2.c | modified | +1 −3 |
| src/test/isolation/isolationtester.c | modified | +1 −3 |
| src/test/modules/libpq_pipeline/libpq_pipeline.c | modified | +1 −3 |
| src/tools/msvc/Solution.pm | modified | +0 −1 |
Documentation touched
Discussion
- Cleaning up historical portability baggage 108 messages · 2022-07-10 → 2025-06-10