Re: Case-sensitivity of connection string parameters - Mailing list pgsql-odbc

From Mateusz Loskot
Subject Re: Case-sensitivity of connection string parameters
Date
Msg-id CABUeae9B=ATcne+hP9i77sAk3c1eysnag_7s1Z-t20eaE0Sjzg@mail.gmail.com
Whole thread Raw
In response to Re: Case-sensitivity of connection string parameters  ("Inoue, Hiroshi" <h-inoue@dream.email.ne.jp>)
Responses Re: Case-sensitivity of connection string parameters  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-odbc
On 10 May 2016 at 15:26, Inoue, Hiroshi <h-inoue@dream.email.ne.jp> wrote:
> On 2016/05/10 16:56, Mateusz Loskot wrote:
>>
>> I use the psqlODBC 9.2.1 with unixODBC 2.2.14 on Ubuntu 14.04.
>> Should I expect names of connection string parameters to be
>> case-sensitive?
>>
>> For instance, if I try DSN-less connection with the following connection
>> string passed to the ODBC API call SQLDriverConnect:
>>
>> "Driver={PostgreSQL
>> ANSI};Server=127.0.0.1;Database=test;UID=test;PWD=test;"
>>
>> I get this error:
>>
>> [unixODBC][Driver Manager]Data source name not found, and no default
>> driver specified
>
>
> What rejects the connection is unixODBC driver manager not psqlodbc driver.
> Newer version of unixODBC may allow "Driver=....".

I see, though, confusingly, in the same environment unixODBC
accepts  "Driver=" for MySQL connection.
That is why I suspected psqlODBC.

Regards,
--
Mateusz Loskot, http://mateusz.loskot.net


pgsql-odbc by date:

Previous
From: "Inoue, Hiroshi"
Date:
Subject: Re: Case-sensitivity of connection string parameters
Next
From: Adrian Klaver
Date:
Subject: Re: Case-sensitivity of connection string parameters