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

From: Jacobo <jsanchez(at)denodo(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Is it possible to set psql connection parameters before an ODBC connection?
Date: 2015-03-19 14:17:06
Message-ID: 1426774626502-5842571.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Ralph Stefan 2015-03-19 15:55:06 BUG #12878: Update fails with ODBC driver 9.0.3.400
Previous Message Enrico 2015-03-19 10:01:36 Odbc through vpn