X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 203D156869 for ; Sat, 19 Mar 2005 11:48:33 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 23471-01 for ; Sat, 19 Mar 2005 11:48:30 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by svr1.postgresql.org (Postfix) with SMTP id 35A1656857 for ; Sat, 19 Mar 2005 11:48:29 +0000 (GMT) Received: (qmail invoked by alias); 19 Mar 2005 11:48:30 -0000 Received: from dsl-082-083-078-086.arcor-ip.net (EHLO colt.pezone.net) [82.83.78.86] by mail.gmx.net (mp022) with SMTP; 19 Mar 2005 12:48:30 +0100 X-Authenticated: #495269 From: Peter Eisentraut To: Tomas =?iso-8859-1?q?Sk=E4re?= Subject: Re: psqlodbc-08.00.0101 compile error Date: Sat, 19 Mar 2005 12:48:25 +0100 User-Agent: KMail/1.7.1 Cc: "Rhys Ickeringill" , pgsql-odbc@postgresql.org References: <003e01c52440$f550fe80$1501a8c0@omnilink.com.au> <200503181643.48114.peter_e@gmx.net> <80is3ormyo.fsf@junk.nocrew.org> In-Reply-To: <80is3ormyo.fsf@junk.nocrew.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200503191248.26024.peter_e@gmx.net> X-Y-GMX-Trusted: 0 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/83 X-Sequence-Number: 5101 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/