Re: compiler warnings in ODBC

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: compiler warnings in ODBC
Дата
Msg-id 3BE5FC69.E386E51E@tpf.co.jp
обсуждение исходный текст
Ответ на Re: compiler warnings in ODBC  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: compiler warnings in ODBC  (Peter Harvey <pharvey@codebydesign.com>)
Список pgsql-hackers
Peter Eisentraut wrote:
> 
> Hiroshi Inoue writes:
> 
> > ISTM neither you nor Philip Warner would use the driver
> > in reality. I'm suspicious if --enable-odbc has a meaning
> > without the environment. We could have 3 kind of ODBC
> > drivers under unix now.
> > 1) stand-alone driver made with --enable-odbc.
> > 2) iODBC driver made with --with-iodbc.
> > 3) unixODBC driver made with --with-unixODBC.
> >
> > Because they are exclusive, it seems to have little meaning
> > to make 1) in advance. In addition it seems misleading if
> > people would regard 1) as the standard PG driver.
> 
> It probably doesn't make the greatest possible sense, but it's backward
> compatible and consistent with typical configure options.

There seems to be pretty many users who only compile
the driver but how many real users are there ?
The driver hasn't been easy to use with iODBC and
unfortunately I remember no response from PG users
to the postings on ML like .. I can't connect to ..
IMHO users shouldn't specify the option --enable-odbc
aimlessly and should choose either iODBC, unixODBC
or stand-alone consciouly.

> 
> Btw., to get the iODBC driver, you need both options --with-iodbc and
> --enable-odbc.  If you only use the former, you get nothing at all.

Really ?
I see the following in ./configure.

if test "$with_unixodbc" = yes || test "$with_iodbc" = yes; then enable_odbc=yes
fi

regards,
Hiroshi Inoue


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

Предыдущее
От: Brent Verner
Дата:
Сообщение: Re: Beta going well
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Beta going well