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 5546D5283B for ; Wed, 8 Jun 2005 09:38:10 -0300 (ADT) 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 10897-09 for ; Wed, 8 Jun 2005 12:38:09 +0000 (GMT) Received: from tbmail.tradebot.com (Tradebot-Systems-1096753.cust-rtr.swbell.net [68.90.170.2]) by svr1.postgresql.org (Postfix) with ESMTP id 24D3252823 for ; Wed, 8 Jun 2005 09:38:06 -0300 (ADT) Received: from 192.168.200.29 ([192.168.200.29]) by tbmail.tradebot.com ([192.168.1.50]) with Microsoft Exchange Server HTTP-DAV ; Wed, 8 Jun 2005 12:38:06 +0000 Received: from krb06 by tbmail; 08 Jun 2005 07:38:06 -0500 Subject: Re: ODBC Compatibility with AMD64 From: Kelly Burkhart To: Steve Poe Cc: pgsql-odbc@postgresql.org In-Reply-To: <338fe4507b98475bbce45d270290cf65@sfnet.cc> References: <338fe4507b98475bbce45d270290cf65@sfnet.cc> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Tradebot Systems, Inc. Message-Id: <1118234286.758.54.camel@krb06> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 08 Jun 2005 07:38:06 -0500 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200506/34 X-Sequence-Number: 5421 On Tue, 2005-06-07 at 19:02, Steve Poe wrote: > OS: Centos 4 for AMD64 (RHEL 4) > PostgreSQL version: 7.4.2 > PostgreSQL ODBC postgresql-odbc-7.3.8.rpm > > My client is migrating to an AMD64 sever using Postgresql 7.4.2 where > the proprietary application accesses through ODBC. Under x86 platform, > this all works find, but under AMD64, we get segment faults during > connection. > > I am assuming their is an issue with the ODBC driver on this platform > because everything else works find on x86 and the database is fine > under a native connection. > > Is there a patch for the ODBC driver to work with a 7.4.x database > using Linux on the AMD64 platform? I'm using psqlodbc-08.00.101 with two patches applied: Neither of these patches fix a problem which would cause a crash. Long ago I submitted a patch to unixODBC which fixed a freeing-the-same-memory-twice bug. This caused a crash when disconnecting from the database in 64-bit, but not in 32-bit. This was in unixODBC-2.2.8; recent unixODBC should not have this problem. -K