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