Revert "Use pselect(2) not select(2), if available, to wait in postmaster's loop."

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 64925603c972aa3a9f1d4c42686dba67f1a7e9d0
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-04-24T22:29:03Z
Releases: 10.0
Revert "Use pselect(2) not select(2), if available, to wait in postmaster's loop."

This reverts commit 81069a9efc5a374dd39874a161f456f0fb3afba4.

Buildfarm results suggest that some platforms have versions of pselect(2)
that are not merely non-atomic, but flat out non-functional.  Revert the
use-pselect patch to confirm this diagnosis (and exclude the no-SA_RESTART
patch as the source of trouble).  If it's so, we should probably look into
blacklisting specific platforms that have broken pselect.

Discussion: https://postgr.es/m/9696.1493072081@sss.pgh.pa.us

Files

PathChange+/−
configure modified +1 −1
configure.in modified +1 −1
src/backend/postmaster/postmaster.c modified +17 −46
src/include/pg_config.h.in modified +0 −3
src/include/pg_config.h.win32 modified +0 −3

Discussion