Re: Is it possible to set psql connection parameters before an ODBC connection?

Поиск
Список
Период
Сортировка
От Jacobo
Тема Re: Is it possible to set psql connection parameters before an ODBC connection?
Дата
Msg-id 1426774626502-5842571.post@n5.nabble.com
обсуждение исходный текст
Ответ на Is it possible to set psql connection parameters before an ODBC connection?  (Lindsay Stevens <lindsay.stevens.au@gmail.com>)
Список pgsql-odbc
I was currently digging into the code to find a way to specify krbsrvname and
just found that before reading the PGKRBSRVNAME environment variable it
calls a function in order to find the krbsrvname.

Checking the implementation i realized that in order to read this parameter
from Connect Settings at this level they should be added inside a comment.

To verify this i have configured a DSN with Connect Settings
/*krbsrvname=myvalue*/ and from the logs it seems to be using this value.

I don't know for the rest of parameters but this may also work for them.

Hope this helps

Regards,

Jacobo



--
View this message in context:
http://postgresql.nabble.com/Is-it-possible-to-set-psql-connection-parameters-before-an-ODBC-connection-tp5842291p5842571.html
Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.


В списке pgsql-odbc по дате отправления:

Предыдущее
От: Enrico
Дата:
Сообщение: Odbc through vpn
Следующее
От: Ralph Stefan
Дата:
Сообщение: BUG #12878: Update fails with ODBC driver 9.0.3.400