ODBC options - Mailing list pgsql-odbc

From Brad White
Subject ODBC options
Date
Msg-id CAA_1=92gMbAKwnzinEug7Zs=yOEBd7rB32SrfS8WES2Z4iVjGw@mail.gmail.com
Whole thread Raw
List pgsql-odbc
I was trying to figure how to set the log directory using a parameter in the connection string. Short answer is that you can't.
But you can using the DSN settings.
I was under the impression that going DSN-less and using the parameters on the connection string, we were free from the effects of the DSN settings.
That's not true.
The DSN settings become the default values, overridden by anything in the connection string.
So you can set default values in the DSN dialog, or you can set them in the registry.

-----  ODBCLoggingOn.reg ------
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ODBC\ODBCINST.INI\PostgreSQL Unicode]

"Debug"="1"
"Logdir"="c:\\temp"
------------------------------------------

In the process I documented all the settings and their abbreviations in a spreadsheet.  I'll post that to the docs mailing list.

pgsql-odbc by date:

Previous
From: Mark Hill
Date:
Subject: pg*.dll and *.pdb files in psqlODBC have no version numbers
Next
From: 刘庄
Date:
Subject: [PATCH] Allow catalogname (database) and procname (no under public schema) enumeration with SQLProcedures