Thanks to visit codestin.com
Credit goes to postgrespro.com

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 [email protected]
Whole thread Raw
In response to Re: WaitLatchOrSocket API needs more thought for socket error conditions  (Peter Geoghegan <[email protected]>)
List pgsql-hackers
Peter Geoghegan <[email protected]> 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