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/