| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Ross Thomas <ross(at)grinfinity(dot)com> |
| Cc: | pgsql-patches(at)postgresql(dot)org |
| Subject: | Re: Patch for ODBC driver (look for odbc.ini in more than |
| Date: | 2002-01-03 07:57:54 |
| Message-ID: | 200201030757.g037vsj23693@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-patches |
Ross Thomas wrote:
> > It looks like we already have this capability in 7.2:
> >
> > /*
> > * theIniFileName is searched for in:
> > * $HOME/theIniFileName
> > * theIniFileName
> > * ODBCINSTDIR/ODBCINST_INI
> > */
>
> Unless I'm missing something, this still doesn't match what "most" ODBC
> drivers do - for example, it doesn't look in /etc (or other
> ./configure-defined location) for a system-wide file, or in $ODBCINI. This
> can be annoying for a sysadmin wishing to provide a predefined set of data
> sources.
>
> Someone mentioned that 7.2 can use an iODBC library to read odbc.ini, which
> is an improvement, but IMHO PostgreSQL's driver should be more flexible by
> default, without having to link with a library. (This would also be useful
> as far as binary packages go, as there needn't be a different PostgreSQL
> driver package for each driver manager.)
Agreed. Can you supply a patch against current source so we can release
it with 7.3?
--
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 | Bruce Momjian | 2002-01-03 08:00:44 | Updated TODO item |
| Previous Message | Bruce Momjian | 2002-01-03 06:08:30 | Re: make createlang match docs |