On 9/25/17, 11:07, "Andres Freund" <andres@anarazel.de> wrote:
On 2017-09-25 18:01:40 +0000, Rady, Doug wrote: > 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
connectionlimitation is system resources. Hm, is there any need of using ppoll over poll? IIRC it's a good bit
morecommon and there's, also iirc, a number of platforms with buggy ppoll implementations. Greetings,
AndresFreund
I used ppoll() as it can support the microseconds duration for \SLEEP meta command.
thanks!
doug
--
Doug Rady
Amazon Aurora PostgreSQL
radydoug@amazon.com
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers