[HACKERS] PATCH: pgbench - option to build using ppoll() for larger connectioncounts - Mailing list pgsql-hackers

From Rady, Doug
Subject [HACKERS] PATCH: pgbench - option to build using ppoll() for larger connectioncounts
Date
Msg-id 9EB91BFD-98CA-441B-AA51-D675CB2F1080@amazon.com
Whole thread Raw
Responses Re: [HACKERS] PATCH: pgbench - option to build using ppoll() forlarger connection counts  (Andres Freund <andres@anarazel.de>)
Re: [HACKERS] PATCH: pgbench - option to build using ppoll() forlarger connection counts  (Fabien COELHO <coelho@cri.ensmp.fr>)
Re: [HACKERS] PATCH: pgbench - option to build using ppoll() forlarger connection counts  (Fabien COELHO <coelho@cri.ensmp.fr>)
Re: [HACKERS] PATCH: pgbench - option to build using ppoll() forlarger connection counts  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers

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.

 

The patch has been implemented to introduce a minimal of #ifdef/#ifndef

clutter in the code.

 

Two patches attached.

One based on REL9_6_STABLE.

One based on 'master' which can also apply to REL_10_STABLE.

 

 

doug

--

Doug Rady

Amazon Aurora PostgreSQL

radydoug@amazon.com

 

Attachment

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [HACKERS] Reading backup label file for checkpoint and redolocation during crash recovery
Next
From: "Bossart, Nathan"
Date:
Subject: [HACKERS] Enhancements to passwordcheck