From: | Igor Kovalenko <Igor(dot)Kovalenko(at)motorola(dot)com> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>, 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 16:31:45 |
Message-ID: | 3C348771.EA76A6B9@motorola.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Bruce Momjian wrote:
>
> > > > 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
Why /etc/odbc.ini? Shouldn't it be installpath/etc/odbc.ini?
- igor
From | Date | Subject | |
---|---|---|---|
Next Message | Jason Tishler | 2002-01-03 16:42:15 | Re: pg_regress.sh startup failure patch |
Previous Message | Dave Page | 2002-01-03 15:53:11 | Re: pg_regress.sh startup failure patch |