]> granicus.if.org Git - postgresql/commit
Revert "Use pselect(2) not select(2), if available, to wait in postmaster's loop."
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 24 Apr 2017 22:29:55 +0000 (18:29 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 24 Apr 2017 22:29:55 +0000 (18:29 -0400)
commite615605239f6df491cd171ed6890b8c70566ef75
treeac9a76d6fc38d339a5dc2b5d135b9051b986ddb8
parentb9515b62879722e3497236f6e0d6783c3fc059a2
Revert "Use pselect(2) not select(2), if available, to wait in postmaster's loop."

This reverts commit b9515b62879722e3497236f6e0d6783c3fc059a2.

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
configure
configure.in
src/backend/postmaster/postmaster.c
src/include/pg_config.h.in
src/include/pg_config.h.win32