Re: server crash => libpq poll() hangs forever (Linux)

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Uwe Schroeder
Дата:
Сообщение: Re: calculating distance between longitude and latitude
Следующее
От: Aljosa Mohorovic
Дата:
Сообщение: pgcon 2010 videos?