Re: ODBC cliens is hanging if network connection is broken

From: Clemens Ladisch <clemens(at)ladisch(dot)de>
To: pgsql-odbc(at)lists(dot)postgresql(dot)org
Subject: Re: ODBC cliens is hanging if network connection is broken
Date: 2018-07-10 10:53:20
Message-ID: 025d2918-d851-c0bc-19bf-f1df54c04082@ladisch.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

AYahorau(at)ibagroup(dot)eu 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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Inoue, Hiroshi 2018-07-10 11:28:20 Re: ODBC cliens is hanging if network connection is broken
Previous Message AYahorau 2018-07-10 10:40:56 Re: ODBC cliens is hanging if network connection is broken