Re: libpq heartbeat - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Re: libpq heartbeat
Date
Msg-id 20161027150105.ki7edoer7dvis2jv@depesz.com
Whole thread Raw
In response to libpq heartbeat  (Marcin Giedz <marcin.giedz@arise.pl>)
Responses Re: libpq heartbeat
List pgsql-general
On Thu, Oct 27, 2016 at 04:43:55PM +0200, Marcin Giedz wrote:
> Hello all
>
> I'm wondering if there is any natural implementation of heartbeats in
> libpq library? We've been facing specially in firewall env
> occasionally session drops between client and server. Extending
> session timeout directly on firewalls is not possible (company rules).
> Perhaps there is such mechanism "somewhere" to avoid reimplementation
> ?

check tcp_keepalives_* in postgresql.conf

Best regards,

depesz

--
The best thing about modern society is how easy it is to avoid contact with it.
                                                             http://depesz.com/


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: The consequenses of interrupted vacuum
Next
From: Francisco Olarte
Date:
Subject: Re: libpq heartbeat