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

From björn lundin
Subject Re: server crash => libpq poll() hangs forever (Linux)
Date
Msg-id 4f6cf893-1c98-46ad-a8b6-e1d681ec876e@w31g2000yqb.googlegroups.com
Whole thread Raw
In response to server crash => libpq poll() hangs forever (Linux)  (Marinos Yannikos <mjy@geizhals.at>)
Responses Re: server crash => libpq poll() hangs forever (Linux)  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: server crash => libpq poll() hangs forever (Linux)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On 9 Juni, 16:37, t...@sss.pgh.pa.us (Tom Lane) wrote:
> Marinos Yannikos <m...@geizhals.at> writes:
> > It seems that poll() never receives a connection closed notification under Linux
> > (https://lists.linux-foundation.org/pipermail/bugme-new/2003-April/008...-
> > very old report,
>
> "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

bnl@tova:~$ uname -a
Linux tova 2.6.31-22-generic #60-Ubuntu SMP Thu May 27 00:22:23 UTC
2010 i686 GNU/Linux

is it really so, that the bug is still valid, or does the code snippet
show something else?

/Björn


pgsql-general by date:

Previous
From: Szymon Guz
Date:
Subject: Re: calculating distance between longitude and latitude
Next
From: uaca man
Date:
Subject: Re: Queues Problem