public inbox for [email protected]
help / color / mirror / Atom feedFrom: M, Anbazhagan <[email protected]>
To: [email protected] <[email protected]>
Subject: Reg: libpq support in pgODBC driver
Date: Mon, 24 Jul 2023 11:57:38 +0000
Message-ID: <SN4PR0601MB861386378F09DA8BA1E956EFFF02A@SN4PR0601MB8613.namprd06.prod.outlook.com> (raw)
Dear Team,
We are currently trying to connect to postgresql database with target_session_attrs, we could see that pgODBC supports libpq. Hence we tried to utilize the benefit of using target_session_attrs.
Sample connecting string used,
"Driver={PostgreSQL Unicode};Server=hostname1,hostname2,hostname3;Database=postgres;Uid=odbc_user;Pwd=Welcome;Port=5432;sslmode=require;target_session_attrs=read-write;”
But it is always connecting to hostname1 mentioned under “Server” . Is it possible to mention the multiple hosts under parameter called “host” as in libpq psql in the connection string and ensure it honours the target_session_attrs parameter value ?
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: Reg: libpq support in pgODBC driver
In-Reply-To: <SN4PR0601MB861386378F09DA8BA1E956EFFF02A@SN4PR0601MB8613.namprd06.prod.outlook.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox