From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | "Rhys Ickeringill" <rhysi(at)omnilink(dot)com(dot)au> |
Cc: | pgsql-odbc(at)postgresql(dot)org |
Subject: | Re: psqlodbc-08.00.0101 compile error |
Date: | 2005-03-18 15:43:47 |
Message-ID: | 200503181643.48114.peter_e@gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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/
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas =?iso-8859-1?q?Sk=E4re?= | 2005-03-19 09:41:03 | Re: psqlodbc-08.00.0005 + libiodbc-3.52.2 + mac os x |
Previous Message | Peter Eisentraut | 2005-03-18 15:35:20 | Re: Insert SHRT_MIN fails for int2 column |