| 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 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| 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 | Content-Type | Size |
|---|---|---|
| keepalive.patch | text/x-patch | 6.3 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2010-02-10 01:18:41 | Re: Some belated patch review for "Buffers" explain analyze patch |
| Previous Message | Andrew Dunstan | 2010-02-10 00:56:40 | Re: Listen / Notify - what to do when the queue is full |