Re: Full socket send buffer prevents cancel, timeout

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Full socket send buffer prevents cancel, timeout
Дата
Msg-id 23590.1225137413@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Full socket send buffer prevents cancel, timeout  ("Stephen R. van den Berg" <srb@cuci.nl>)
Список pgsql-hackers
"Stephen R. van den Berg" <srb@cuci.nl> writes:
> Tom Lane wrote:
>> "Stephen R. van den Berg" <srb@cuci.nl> writes:
>>> What about simply closing the filedescriptor upon discovering a
>>> non-empty sendbuffer upon timeout/querycancel?

>> So in other words, convert any network glitch, no matter how small,
>> into an instant fatal error?

> The fact that a timeout or querycancel has taken place, indicates that
> this does *not* act on just any network glitch.

No, just any one that is unfortunate enough to occur at the moment of a
query timeout or cancel.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [BUGS] libpq does not manage SSL callbacks properly when other libraries are involved.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: CREATE TABLE AS WITH NO DATA