Re: Windows: Wrong error message at connection termination

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Windows: Wrong error message at connection termination
Дата
Msg-id 3616081.1637530966@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Windows: Wrong error message at connection termination  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: Windows: Wrong error message at connection termination  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
Thomas Munro <thomas.munro@gmail.com> writes:
> Hmm, maybe it's still not enough.  Now that I have coffee, I thought
> about the well known failure of idle_in_transaction_timeout to report
> errors on Windows[1].

Yeah, I think that may well be a manifestation of the same problem:
once the backend exits, Winsock issues RST which prevents the client
from reading the queued data.  We had been analyzing that under the
assumption that Windows obeys the TCP RFCs ... but having now been
disabused of that optimism, it seems to match up pretty well.
It'd be useful to check if Lars' patch cures that symptom.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Windows: Wrong error message at connection termination
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Windows: Wrong error message at connection termination