Re: compiler warnings in ODBC - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: compiler warnings in ODBC
Date
Msg-id Pine.LNX.4.30.0111022102301.874-100000@peter.localdomain
Whole thread Raw
In response to Re: compiler warnings in ODBC  (Hiroshi Inoue <Inoue@tpf.co.jp>)
List pgsql-hackers
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.

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.
Again, this could conceivably be done differently.

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



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: "ADD" notice in CREATE/ALTER TABLE
Next
From: Peter Eisentraut
Date:
Subject: Re: Licensing issues including another projects source