Skip site navigation (1) Skip section navigation (2)

Re: TCP keepalive support for libpq

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Andrew Chernow <ac(at)esilo(dot)com>
Cc: Tollef Fog Heen <tollef(dot)fog(dot)heen(at)collabora(dot)co(dot)uk>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: TCP keepalive support for libpq
Date: 2010-02-10 01:07:29
Message-ID: 3f0b79eb1002091707l51135915taa87f23e0b3a4d27@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Tue, Feb 9, 2010 at 11:34 PM, Andrew Chernow <ac(at)esilo(dot)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

Attachment: keepalive.patch
Description: text/x-patch (6.3 KB)

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2010-02-10 01:18:41
Subject: Re: Some belated patch review for "Buffers" explain analyze patch
Previous:From: Andrew DunstanDate: 2010-02-10 00:56:40
Subject: Re: Listen / Notify - what to do when the queue is full

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group