Re: [HACKERS] Unportable use of select for timeouts in PostgresNode.pm

2017-07-17 Thread Tom Lane
Andrew Dunstan writes: > I've been trying to get to the bottom of a nasty hang in buildfarm > member jacana when running the pg_ctl TAP test. This test used to work, > and was last known to work on June 22nd. > My attention has become focussed on this change in commit de3de0afd: > - #

Re: [HACKERS] Unportable use of select for timeouts in PostgresNode.pm

2017-07-17 Thread Michael Paquier
On Mon, Jul 17, 2017 at 4:48 PM, Andrew Dunstan wrote: > This is a usage that is known not to work in Windows - IIRC we > eliminated such calls from our C programs at the time of the Windows > port - and it seems to me very likely to be the cause of the hang. > Instead I think we should use the us