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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Patch for ODBC driver (look for odbc.ini in more than
Дата
Msg-id Pine.LNX.4.30.0112111732130.935-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: Patch for ODBC driver (look for odbc.ini in more than one  (Igor Kovalenko <Igor.Kovalenko@motorola.com>)
Список 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@gmx.net


В списке pgsql-patches по дате отправления:

Предыдущее
От: "Ross Thomas"
Дата:
Сообщение: Re: Patch for ODBC driver (look for odbc.ini in more than one location)
Следующее
От: Igor Kovalenko
Дата:
Сообщение: Re: Patch for ODBC driver (look for odbc.ini in more thanone