Re: WaitLatchOrSocket API needs more thought for socket error conditions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WaitLatchOrSocket API needs more thought for socket error conditions
Date
Msg-id 18486.1336932712@sss.pgh.pa.us
Whole thread Raw
In response to Re: WaitLatchOrSocket API needs more thought for socket error conditions  (Peter Geoghegan <peter@2ndquadrant.com>)
List pgsql-hackers
Peter Geoghegan <peter@2ndquadrant.com> writes:
> I think that we might have avoided accepting the poll()-based
> implementation in the first place if these subtleties were considered
> earlier, since IIRC the justification for introducing it was rather
> weak.

I'm not exactly sure that the select-based implementation isn't buggy
too.  It just ignores the possibility of error conditions on the
socket(s).  In any case, we are using poll interchangeably with select
in most places.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: WaitLatchOrSocket API needs more thought for socket error conditions
Next
From: Peter Geoghegan
Date:
Subject: Re: Foreign keys in pgbench