Re: [HACKERS] Removing select(2) based latch (was Unportableimplementation of background worker start) - Mailing list pgsql-hackers

From Andres Freund
Subject Re: [HACKERS] Removing select(2) based latch (was Unportableimplementation of background worker start)
Date
Msg-id 20170423231307.u4krbooolkwaowzu@alap3.anarazel.de
Whole thread Raw
In response to Re: [HACKERS] Removing select(2) based latch (was Unportable implementation of background worker start)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

On 2017-04-20 17:27:42 -0400, Tom Lane wrote:
> In short: yeah, let's nuke the WAIT_USE_SELECT implementation.
> It's dead code and it's unlikely to get resurrected.

Done.


> BTW, noting that SUSv2 specifies <poll.h> not <sys/poll.h>, I wonder
> whether we couldn't drop configure's test for the latter along with
> the
> 
> #ifdef HAVE_SYS_POLL_H
> #include <sys/poll.h>
> #endif
> 
> stanzas we have in a couple of places.  But that's a separate issue.

Done, too, in a separate commit.

- Andres



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [HACKERS] valgrind error in subscription code
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] StandbyRecoverPreparedTransactions recovers subtranslinks incorrectly