pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Rhys Ickeringill <rhysi@omnilink.com.au>
Cc: pgsql-odbc@postgresql.org
Subject: Re: psqlodbc-08.00.0101 compile error
Date: Fri, 18 Mar 2005 16:43:47 +0100
Message-ID: <200503181643.48114.peter_e@gmx.net> (raw)
In-Reply-To: <003e01c52440$f550fe80$1501a8c0@omnilink.com.au>
References: <003e01c52440$f550fe80$1501a8c0@omnilink.com.au>

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/



view thread (4+ messages)  latest in thread

Message-ID: <200503181643.48114.peter_e@gmx.net>
Permalink:  ../200503181643.48114.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200503181643.48114.peter_e@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: peter_e@gmx.net, rhysi@omnilink.com.au
  Subject: Re: psqlodbc-08.00.0101 compile error
  In-Reply-To: <200503181643.48114.peter_e@gmx.net>
  References: <003e01c52440$f550fe80$1501a8c0@omnilink.com.au> <200503181643.48114.peter_e@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox