On 9/25/17, 11:07, "Andres Freund" <and...@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 connection limitation is system resources.
    
    Hm, is there any need of using ppoll over poll?  IIRC it's a good bit
    more common and there's, also iirc, a number of platforms with buggy
    ppoll implementations.
    
    
    Greetings,
    
    Andres Freund
    

I used ppoll() as it can support the microseconds duration for \SLEEP meta 
command.

thanks!
doug
--
Doug Rady
Amazon Aurora PostgreSQL
radyd...@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

Reply via email to