Re: server crash => libpq poll() hangs forever (Linux) - Mailing list pgsql-general

From Tom Lane
Subject Re: server crash => libpq poll() hangs forever (Linux)
Date
Msg-id 6149.1276139503@sss.pgh.pa.us
Whole thread Raw
In response to Re: server crash => libpq poll() hangs forever (Linux)  (björn lundin <b.f.lundin@gmail.com>)
List 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 by date:

Previous
From: Uwe Schroeder
Date:
Subject: Re: calculating distance between longitude and latitude
Next
From: Aljosa Mohorovic
Date:
Subject: pgcon 2010 videos?