Skip site navigation (1) Skip section navigation (2)

odbc.ini settings?

From: Daren Sefcik <daren(at)partnersdata(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: odbc.ini settings?
Date: 1999-07-16 20:12:16
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
I finally got the compiled and compiled iodbc
with the option to make /etc/odbc.ini the system default.
I can only get the test program (odbctest) to work when I 
have an ~/.odbc.ini file. If I do not have it present, iodbc
will read the /etc/odbc.ini and show the dsn listed but when
I select it I just get dumped back to "Have a nice day".
Running truss on it and looking at the debug file, it looks
like it is seeing the /etc/odbc.ini file but not using the values
listed for the dsn.

If I copy the /etc/odbc.ini to ~/.odbc.ini it works perfect. 

Does anybody have any idea what I need to do to fix/change this??
I need ideally to have it work with the ODBCINI environment
variable(which at the moment it doesn't either) so I can set
it inside of a run script.

BTW...this is Solaris 2.6 PostgreSQL 6.5 iODBC-2.50.3


pgsql-interfaces by date

Next:From: Robson MartinsDate: 1999-07-16 20:16:01
Subject: Java & Javascript...
Previous:From: Tom LaneDate: 1999-07-16 13:46:45
Subject: Re: [INTERFACES] backend connection lost

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group