Re: PATCH: pgbench - option to build using ppoll() for larger connection counts

Andrew Dunstan <andrew.dunstan@2ndquadrant.com>

From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Thomas Munro <thomas.munro@enterprisedb.com>, "Rady, Doug" <radydoug@amazon.com>
Cc: Fabien COELHO <coelho@cri.ensmp.fr>, Andres Freund <andres@anarazel.de>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, Robert Haas <robertmhaas@gmail.com>
Date: 2018-07-03T23:52:48Z
Lists: pgsql-hackers

On 05/17/2018 01:23 AM, Thomas Munro wrote:
> On Tue, Mar 27, 2018 at 9:23 AM, Rady, Doug <radydoug@amazon.com> wrote:
>> pgbench11-ppoll-v12.patch
> Hi Doug,
>
> FYI this patch is trying and failing to use ppoll() on Windows:
>
> https://ci.appveyor.com/project/postgresql-cfbot/postgresql/build/1.0.30
>


It's still failing -  see 
<https://ci.appveyor.com/project/postgresql-cfbot/postgresql/build/1.0.4098>

I'm setting this back to "Waiting on Author" until that's fixed.

cheers

andrew

-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



Commits

  1. Use ppoll(2), if available, to wait for input in pgbench.

  2. Use pselect(2) not select(2), if available, to wait in postmaster's loop.