X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 816909DCA8E for ; Fri, 27 Jan 2006 10:45:27 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 95295-02 for ; Fri, 27 Jan 2006 10:45:29 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 8A6A09DC998 for ; Fri, 27 Jan 2006 10:45:23 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k0REjSr3001975; Fri, 27 Jan 2006 09:45:28 -0500 (EST) To: "Dave Page" cc: "Ludek Finstrle" , pgsql-odbc@postgresql.org Subject: Re: Odbcapi30.c - 64 bit compiler warning cleanup In-reply-to: References: Comments: In-reply-to "Dave Page" message dated "Fri, 27 Jan 2006 14:34:39 +0000" Date: Fri, 27 Jan 2006 09:45:28 -0500 Message-ID: <1974.1138373128@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.1 required=5 tests=[AWL=0.100] X-Spam-Score: 0.1 X-Spam-Level: X-Archive-Number: 200601/280 X-Sequence-Number: 7095 "Dave Page" writes: >> From: Tom Lane [mailto:tgl@sss.pgh.pa.us] >> The problem with this is that it creates an ABI breakage. > Is that actually a problem given that apps should link to the driver > manager (which can dynamically load any version of any driver), not > directly to the driver itself? Hm, good point. So the question then becomes whether the driver manager is expecting this parameter to be int-sized or pointer-sized. I took a quick look at the unixODBC sources (2.0.4 which is what I have handy, I know it's a bit old) and got completely confused: I see the parameter declared as SQLUINTEGER in some places and UDWORD in others. Anyone know that code base well enough to be certain which place is definitive? regards, tom lane