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 DDADB9DCBBD for ; Fri, 16 Dec 2005 09:28:03 -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 21867-02 for ; Fri, 16 Dec 2005 09:28:07 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.pzkagis.cz (gis6.netbox.cz [83.240.30.214]) by postgresql.org (Postfix) with ESMTP id 304969DCBAB for ; Fri, 16 Dec 2005 09:27:59 -0400 (AST) Received: (from luf@localhost) by smtp.pzkagis.cz (8.11.6/8.11.6) id jBGDRtu21430; Fri, 16 Dec 2005 14:27:55 +0100 Date: Fri, 16 Dec 2005 14:27:55 +0100 From: Ludek Finstrle To: Tom Lane Cc: pgsql-odbc@postgresql.org Subject: Re: Does postgresql-odbc work on 64-bit platforms? Message-ID: <20051216132755.GC20814@soptik.pzkagis.cz> References: <19500.1134701253@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19500.1134701253@sss.pgh.pa.us> User-Agent: Mutt/1.4i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.004 required=5 tests=[AWL=0.004] X-Spam-Score: 0.004 X-Spam-Level: X-Archive-Number: 200512/202 X-Sequence-Number: 6681 > >> I just had occasion to build 08.01.0102 on an x86_64 machine, and I > >> noted quite a large number of warnings about "cast from pointer to > >> integer of different size" and vice versa. These are pretty scary. > > > If you can help (or can find some Redhat manpower) that would be > > appreciated - I certainly don't have a 64 bit box right now and am This is same problem for me. I have no 64 bit box right now :-( Maybe I'll have access to linux box after Xmas (if I enforce dual boot on new notebook). > I've attached a list of the current warnings (current as of 08.01.0102 > sources). > > The two warnings in PGAPI_SetConnectOption definitely look like crash > cases to me. The others might be fixable by changing, eg, > if ((SQLUINTEGER) Value == SQL_OV_ODBC2) > to > if (Value == (PTR) SQL_OV_ODBC2) Thanks, this and the list help me a lot Luf