Re: ODBC cliens is hanging if network connection is broken

Clemens Ladisch <[email protected]> Tue, 10 Jul 2018 12:53:20 +0200
Newsgroups gmane.comp.db.postgresql.odbc
Message-ID <[email protected]>
[email protected] wrote:
> [sles12-1]
> Description = PostgreSQL connection to rtpdb
> Driver = PostgreSQL
> Database = rtpdb
> pqopt = keepalives=1 keepalives_interval=5 keepalives_count=1
>
> But unfortunately if did not take a desired effect.

<https://odbc.postgresql.org/docs/config-opt.html> says that the pqopt value
must be {enclosed with braces}.

Alternatively, use the top-level KeepaliveTime and KeepaliveInterval options.


Regars,
Clemens