Multiple Hosts connection with ODBC Driver

From: Bruno Lavoie <bl(at)brunol(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Multiple Hosts connection with ODBC Driver
Date: 2018-11-20 17:55:15
Message-ID: CAD+GXYPjNmz9jtr8heYRDXNtDPV_vTZuz-TFiTYoD8xmBKfi3Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello community,

We currently have a primary/standby setup and we currently need to run an
application that uses connections via ODBC.

Does somebody knows if we can with ODBC, like libpq, use a connection
string or dns entry with multiple hosts? We would like to connect
automatically to the primary server like the way we can with native libpq.

Reference:
https://www.postgresql.org/docs/10/libpq-connect.html#LIBPQ-MULTIPLE-HOSTS
Near the page end: target_session_attrs=read-write

Thanks
Bruno Lavoie

Browse pgsql-general by date

  From Date Subject
Next Message Rhys A.D. Stewart 2018-11-20 18:03:32 postgres_fdw pushdown problem.
Previous Message Martín Marqués 2018-11-20 12:36:39 Re: postgresql10-server RPM unpacking of archive failed