This patch enables building pgbench to use ppoll() instead of select()
to allow for more than (FD_SETSIZE - 10) connections. As implemented,
when using ppoll(), the only connection limitation is system resources.
To maintain the microseconds duration of \SLEEP meta command, ppoll() was used instead of poll().
The patch has been implemented to introduce a minimal of #ifdef/#ifndef
clutter in the code.
(this is just a re-send w/o the 9.6 patch as commitfest latched onto the 9.6 patch)
doug
--
Doug Rady
Amazon Aurora PostgreSQL
radydoug@amazon.com