From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> |
Cc: | Ross Thomas <ross(at)grinfinity(dot)com>, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: Patch for ODBC driver (look for odbc.ini in more than |
Date: | 2002-01-03 08:03:00 |
Message-ID: | 200201030803.g03831O24528@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
> > > Since most ODBC drivers and driver managers look for odbc.ini in several
> > > locations on UNIX systems, it would seem sensible to have the PostgreSQL
> > > driver do the same thing. (This idea occurred to me after five hours of
> > > trying to figure out what libpsqlodbc didn't like about my
> > /etc/odbc.ini,
> > > but that's another story.)
> > >
> > > iODBC, for example, does the following:
> > >
> > > 1) Checks $ODBCINI
> > > 2) Checks $HOME/.odbc.ini
> > > 3) Checks ~/.odbc.ini (where ~ is obtained from struct passwd)
> > > 4) Checks system-wide odbc.ini (in /etc by default)
>
> AFAIK only 3) is implemented. However there's no problem
> if there's no user.
Added to TODO:
* Add config file check for $ODBCINI, $HOME/.odbc.ini, and /etc/odbc.ini
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Swan | 2002-01-03 09:19:29 | Re: Updated TODO item |
Previous Message | Bruce Momjian | 2002-01-03 08:00:44 | Updated TODO item |