Re: ODBC include files

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: ODBC include files
Дата
Msg-id Pine.LNX.4.30.0108232113030.677-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: ODBC include files  (Hiroshi Inoue <Inoue@tpf.co.jp>)
Ответы RE: ODBC include files  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список pgsql-odbc
Hiroshi Inoue writes:

> > I also see that our isqlext.h includes isql.h without an iodbc/ path
> > prefix, which seems incorrect.
>
> Sorry where's iodbc/ ?

If you install the odbc driver from the source distribution then the said
headers are installed into /usr/local/pgsql/include/iodbc/*.h.  So if you
blindly do -I/usr/local/pgsql/include and #include "iodbc/isqlext.h" you
won't find isql.h (or worse, the wrong one).  I think this is the remnant
of an improper import of the odbc driver into out our source tree way back
when.

> > Is there something that might need updating here?  If I were to write an
> > ODBC application, which package's files should I include?
>
> IMHO you should include iodbc package's files.

Perhaps we should not install ours at all in that case?  The iodbc ones
seem better maintained and you need to have iodbc anyway.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


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

Предыдущее
От: Nick Kennedy
Дата:
Сообщение: RE: I cant' configure ODBC
Следующее
От: Kristis Makris
Дата:
Сообщение: Re: Error messages not always reported through the ODBC driver -STATEMENT ERROR missing