Thread: unixODBC vs. iODBC

unixODBC vs. iODBC

From
Peter Eisentraut
Date:
Now that we have removed that "neither unixODBC nor iODBC" version of
the Unix variant of the driver, you get uncontrolled breakage when you
just run "./configure; make; make install".  I think it would be
beneficial to add automatic detection of the available driver manager.
That is:

- if --with-unixodbc is specified, use unixODBC

- if --with-iodbc is specified, use iODBC

- if both are specified, abort

- if neither is specified, search for unixODBC, then iODBC (I think that
is the order of popularity; tell me if I'm wrong). If neither is found,
abort.

Comments?


Re: unixODBC vs. iODBC

From
"Dave Page"
Date:

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Peter Eisentraut
> Sent: 09 July 2004 19:57
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] unixODBC vs. iODBC
>
> Now that we have removed that "neither unixODBC nor iODBC"
> version of the Unix variant of the driver, you get
> uncontrolled breakage when you just run "./configure; make;
> make install".  I think it would be beneficial to add
> automatic detection of the available driver manager.
> That is:
>
> - if --with-unixodbc is specified, use unixODBC
>
> - if --with-iodbc is specified, use iODBC
>
> - if both are specified, abort
>
> - if neither is specified, search for unixODBC, then iODBC (I
> think that is the order of popularity; tell me if I'm wrong).
> If neither is found, abort.
>
> Comments?

Sounds perfectly sensible to me. Although not a user myself, my sense
from posts on the lists is also that unixODBC is the most popular.

Regards, Dave.