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/