| От | Tom Lane |
|---|---|
| Тема | Re: server crash => libpq poll() hangs forever (Linux) |
| Дата | |
| Msg-id | 6149.1276139503@sss.pgh.pa.us обсуждение |
| Ответ на | Re: server crash => libpq poll() hangs forever (Linux) (björn lundin <b.f.lundin@gmail.com>) |
| Список | pgsql-general |
=?ISO-8859-1?Q?bj=F6rn_lundin?= <b.f.lundin@gmail.com> writes:
> On 9 Juni, 16:37, t...@sss.pgh.pa.us (Tom Lane) wrote:
>> "very old report" is right. �What makes you think that has anything to
>> do with modern kernel versions?
> Interesting. The bug report includes a short code snippet which
> compiles to a c program,
> that shows the bug is still present. I'm on
Mph. Reading the bug report and the code snippet more closely, the
complaint is totally irrelevant to libpq anyway. What he's complaining
about is a case where another thread of a multithreaded application
close()s the descriptor that a poll() is using. That is *not* related
to the other end of the connection closing the connection, which is the
case the OP was concerned about.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера