From: | "M, Anbazhagan" <Anbazhagan(dot)M(at)netapp(dot)com> |
---|---|
To: | "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org> |
Subject: | Reg: libpq support in pgODBC driver |
Date: | 2023-07-24 11:57:38 |
Message-ID: | SN4PR0601MB861386378F09DA8BA1E956EFFF02A@SN4PR0601MB8613.namprd06.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
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 ?
From | Date | Subject | |
---|---|---|---|
Next Message | Jon Raiford | 2023-07-25 15:25:47 | Re: Postgre database is unable to connect |
Previous Message | Dave Cramer | 2023-07-21 21:03:40 | password lengths |