| From: | "Inoue, Hiroshi" <h-inoue(at)dream(dot)email(dot)ne(dot)jp> |
|---|---|
| To: | Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com> |
| Cc: | pgsql-odbc(at)postgresql(dot)org |
| Subject: | Re: Registering DSN with odbcconf.exe overwrites the connection attributes with defaults |
| Date: | 2018-04-28 05:22:46 |
| Message-ID: | 70c8d721-672c-b6c1-598d-1ce318268f92@dream.email.ne.jp |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-odbc |
Sorry for the late reply,
Could you please try the test drivers 10.02.0200 on Windows at
https://winpg.jp/~inoue/psqlodbc/index.html
?
regards,
Hiroshi Inoue
On 2018/04/24 15:06, Inoue, Hiroshi wrote:
> Hi,
>
> On 2018/04/23 18:25, Haribabu Kommi wrote:
>> With the following command, the SSLmode of the DSN is defaults to
>> disable, even the "prefer" option is provided in the connection
>> attributes.
>>
>> odbcconf.exe /A {CONFIGDSN "PostgreSQL Unicode(x64)"
>> "DSN=test3|SSLmode=prefer"}
>>
>> During the configDSN, first the connection attributes are parsed in
>> ParseAttributes function and later all the values are replaced with
>> defaults using getCiAllDefaults. Because of this reason, all the
>> provided connection options are ignored.
>
> Thanks for the report.
> I would take care of this issue.
>
> regards,
> Hiroshi Inoue
>
>>
>> By changing it as first fill the ci with defaults and later update it
>> with connection attributes works fine with connection attributes.
>> Patch attached. Am I missing anything?
>>
>> Regards,
>> Hari Babu
>> Fujitsu Australia
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Haribabu Kommi | 2018-04-28 07:44:03 | Re: Registering DSN with odbcconf.exe overwrites the connection attributes with defaults |
| Previous Message | Mahesh Kansara | 2018-04-27 17:02:35 | Re: PostgreSQL 10 Partition Tables: Support through PG Driver |