pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kelly Burkhart <kelly@tradebotsystems.com>
To: Steve Poe <spoe@sfnet.cc>
Cc: pgsql-odbc@postgresql.org
Subject: Re: ODBC Compatibility with AMD64
Date: Wed, 08 Jun 2005 07:38:06 -0500
Message-ID: <1118234286.758.54.camel@krb06> (raw)
In-Reply-To: <338fe4507b98475bbce45d270290cf65@sfnet.cc>
References: <338fe4507b98475bbce45d270290cf65@sfnet.cc>

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:

<http://archives.postgresql.org/pgsql-odbc/2005-03/msg00126.php;
<http://archives.postgresql.org/pgsql-odbc/2005-03/msg00038.php;

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



view thread (2+ messages)

Message-ID: <1118234286.758.54.camel@krb06>
Permalink:  ../1118234286.758.54.camel@krb06/
Also on:    postgresql.org/message-id/1118234286.758.54.camel@krb06

 · 

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: kelly@tradebotsystems.com, spoe@sfnet.cc
  Subject: Re: ODBC Compatibility with AMD64
  In-Reply-To: <1118234286.758.54.camel@krb06>
  References: <338fe4507b98475bbce45d270290cf65@sfnet.cc> <1118234286.758.54.camel@krb06>

* 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