Search Postgresql Archives

Multiple Hosts connection with ODBC Driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux