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

Re: Patch for ODBC driver (look for odbc.ini in more than

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Igor Kovalenko <Igor(dot)Kovalenko(at)motorola(dot)com>
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: 2001-12-11 22:21:30
Message-ID: Pine.LNX.4.30.0112111732130.935-100000@peter.localdomain (view raw or flat)
Thread:
Lists: pgsql-patches
Igor Kovalenko writes:

> I ran into this issue too. Not sure whether it is useful to check 4
> locations, but current code is certainly broken. It does check for
> odbcinst.ini in ~user and default location, but only ~user for odbc.ini.
[...]
> Default location certainly should be searched and that would not require
> big changes. Looking at the code I actually think original coder meant
> to do that but overlooked that code will only work for odbcinst.ini.

That would seem to be a useful addition.  You could probably just use the
same directory that is configured for odbcinst.ini now.

> I don't really get it why do you want to add another configure option at
> all, it is confusing enough already. I would think that odbcinst.ini and
> [default] odbc.ini normally should be in the same place.

Linking against the appropriate libraries of the driver manager ensures
that the driver and the driver manager always look into the same place.

-- 
Peter Eisentraut   peter_e(at)gmx(dot)net


In response to

Responses

pgsql-patches by date

Next:From: Igor KovalenkoDate: 2001-12-11 22:55:15
Subject: Re: Patch for ODBC driver (look for odbc.ini in more thanone
Previous:From: Peter EisentrautDate: 2001-12-11 22:19:46
Subject: Re: NLS (Russian) - pg_dump update

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