Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



=?ISO-8859-1?Q?bj=F6rn_lundin?= <b.f.lundin@xxxxxxxxx> writes:
> On 9 Juni, 16:37, t...@xxxxxxxxxxxxx (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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux