Re: TCP keepalive support for libpq

Fujii Masao <masao.fujii@gmail.com>

From: Fujii Masao <masao.fujii@gmail.com>
To: Andrew Chernow <ac@esilo.com>
Cc: Tollef Fog Heen <tollef.fog.heen@collabora.co.uk>, pgsql-hackers@postgresql.org
Date: 2010-02-10T01:07:29Z
Lists: pgsql-hackers

Attachments

On Tue, Feb 9, 2010 at 11:34 PM, Andrew Chernow <ac@esilo.com> wrote:
> If you really want libpq to manage this, I think you need to expose the
> probe interval and timeouts.

Agreed.

Previously I was making the patch that exposes them as conninfo
options so that the standby can detect a network outage ASAP in SR.
I attached that WIP patch as a reference. Hope this helps.

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center