Re: WaitLatchOrSocket API needs more thought for socket error conditions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WaitLatchOrSocket API needs more thought for socket error conditions
Дата
Msg-id 18486.1336932712@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: WaitLatchOrSocket API needs more thought for socket error conditions  (Peter Geoghegan <peter@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: WaitLatchOrSocket API needs more thought for socket error conditions
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Foreign keys in pgbench