pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daren Sefcik <daren@partnersdata.com>
To: pgsql-interfaces@postgresql.org
Subject: odbc.ini settings?
Date: Fri, 16 Jul 1999 13:12:16 -0700
Message-ID: <378F9220.1B5DF4EE@partnersdata.com> (raw)

I finally got the psqlodbc.so 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

TIA,
Daren



Message-ID: <378F9220.1B5DF4EE@partnersdata.com>
Permalink:  ../378F9220.1B5DF4EE@partnersdata.com/
Also on:    postgresql.org/message-id/378F9220.1B5DF4EE@partnersdata.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: daren@partnersdata.com
  Subject: Re: odbc.ini settings?
  In-Reply-To: <378F9220.1B5DF4EE@partnersdata.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox