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 200503181643.48114.peter_e@gmx.net
Whole thread Raw
In response to psqlodbc-08.00.0101 compile error  ("Rhys Ickeringill" <rhysi@omnilink.com.au>)
Responses Re: psqlodbc-08.00.0101 compile error
List pgsql-odbc
Am Mittwoch, 9. März 2005 01:43 schrieb Rhys Ickeringill:
> from psqlodbc-08.00.0101's odbcapi30w.c :
>
> RETCODE SQL_API SQLColAttributeW(
>     SQLHSTMT hstmt,
>     SQLUSMALLINT iCol,
>     SQLUSMALLINT iField,
>     SQLPOINTER pCharAttr,
>     SQLSMALLINT cbCharAttrMax,
>     SQLSMALLINT *pcbCharAttr,
>     SQLPOINTER pNumAttr )
>
> from libiodbc-3.52.2's sqlucode.h (included by odbcapi30w.c) :
>
> RETCODE SQL_API SQLColAttributeW(
>     SQLHSTMT hstmt,
>     SQLUSMALLINT iCol,
>     SQLUSMALLINT iField,
>     SQLPOINTER pCharAttr,
>     SQLSMALLINT cbCharAttrMax,
>     SQLSMALLINT *pcbCharAttr,
>     SQLLEN *pNumAttr )

Both Microsoft and unixODBC agree with our version, and the SQL standard says
it's SQLINTEGER *, so I'm afraid iODBC loses this vote.

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

pgsql-odbc by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Insert SHRT_MIN fails for int2 column
Next
From: tomas@nocrew.org (Tomas Skäre)
Date:
Subject: Re: psqlodbc-08.00.0005 + libiodbc-3.52.2 + mac os x