ODBC options

Поиск
Список
Период
Сортировка
От Brad White
Тема ODBC options
Дата
Msg-id CAA_1=92gMbAKwnzinEug7Zs=yOEBd7rB32SrfS8WES2Z4iVjGw@mail.gmail.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Mark Hill
Дата:
Сообщение: pg*.dll and *.pdb files in psqlODBC have no version numbers
Следующее
От: 刘庄
Дата:
Сообщение: [PATCH] Allow catalogname (database) and procname (no under public schema) enumeration with SQLProcedures