Re: psqlodbc-08.00.0101 compile error - Mailing list pgsql-odbc

From Peter Eisentraut
Subject Re: psqlodbc-08.00.0101 compile error
Date
Msg-id 200503191248.26024.peter_e@gmx.net
Whole thread Raw
In response to Re: psqlodbc-08.00.0101 compile error  (tomas@nocrew.org (Tomas Skäre))
List pgsql-odbc
Tomas Skäre wrote:
> > Both Microsoft and unixODBC agree with our version, and the SQL
> > standard says it's SQLINTEGER *, so I'm afraid iODBC loses this
> > vote.
>
> May I suggest an #ifdef WITH_IODBC around it?

That would be the easy way out.  There are, however, two arguments
against that:

1. Previous iODBC releases apparently got this right, so we might be
breaking those releases.

2. Using SQLLEN for an attribute number is just plain wrong.

I suggest that those interested in this issue first contact the iODBC
authors and check why it was done this way.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-odbc by date:

Previous
From: tomas@nocrew.org (Tomas Skäre)
Date:
Subject: Re: psqlodbc-08.00.0101 compile error
Next
From: "John E. Vincent"
Date:
Subject: Re: psqlodbc-08.00.0005 + libiodbc-3.52.2 + mac os x