Re: [COMMITTERS] pgsql: Use asynchronous connect API in libpqwalreceiver

Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgreSQL.org, Andrew Dunstan <andrew@dunslane.net>
Date: 2017-03-04T02:46:20Z
Lists: pgsql-hackers
On 3/3/17 19:16, Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>> Use asynchronous connect API in libpqwalreceiver
> 
> Buildfarm member bowerbird has been failing in the pg_rewind test since
> this patch went in.  It looks like it's failing to complete connections
> from the standby; which suggests that something platform-specific is
> missing from this commit, but I dunno what.

Hmm, I wonder how widely tested the async connection API is on Windows
at all.  I only see bowerbird and jacana running bin-check on Windows.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


Commits

  1. Fix WaitEventSetWait() to handle write-ready waits properly on Windows.

  2. Rewrite async-connection loop in libpqwalreceiver.c, once again.

  3. Use asynchronous connect API in libpqwalreceiver