On Mon, Jul 17, 2017 at 4:48 PM, Andrew Dunstan <andrew.duns...@2ndquadrant.com> 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 usleep() function from the standard > (from 5.8) Perl module Time::HiRes, as recommended in the Perl docs for > the sleep() function for situations where you need finer grained > timeouts. I have verified that this works on jacana and friends.
Looking at my boxes (Arch, Mac, Windows), Time::Hires looks to be part of the core set of packages, so there is visibly no real need to incorporate a check in configure.in. So +1 for doing as you suggest. -- Michael -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers