Re: Fwd: libpq: indefinite block on poll during network problems - Mailing list pgsql-general

From Tom Lane
Subject Re: Fwd: libpq: indefinite block on poll during network problems
Date
Msg-id 8886.1401369939@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fwd: libpq: indefinite block on poll during network problems  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: Fwd: libpq: indefinite block on poll during network problems
List pgsql-general
Martijn van Oosterhout <kleptog@svana.org> writes:
> Something very important to note: those settings do nothing unless the
> SO_KEEPALIVE option is turned on for the socket.  AFAICT libpq does not
> enable this option, hence they (probably) have no effect.

AFAICS, it does so by default since 9.0.

            regards, tom lane


pgsql-general by date:

Previous
From: Dmitry Samonenko
Date:
Subject: Re: Fwd: libpq: indefinite block on poll during network problems
Next
From: Vik Fearing
Date:
Subject: Re: How to implement the skip errors for copy from ?