pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Richardson <Rob.Richardson@rad-con.com>
To: pgsql-admin@postgresql.org
Subject: PgsqlODBC 8.1 and 8.4 side-by-side installation
Date: Wed, 7 Jul 2010 12:49:02 -0400
Message-ID: <04A6DB42D2BA534FAC77B90562A6A03D01466009@server.rad-con.local> (raw)
In-Reply-To: <1750933811.350727.1278484387395.JavaMail.app@ech3-cdn07.prod>
References: <1750933811.350727.1278484387395.JavaMail.app@ech3-cdn07.prod>

I have a customer who is running PostgreSQL 8.1.  I recently updated an
application there, and it is running extremely slowly.  The previous
version of the application runs fine, and the new version runs fine on
my machine, which runs PostgresQL 8.4.  The problem is that a query for
a single record from a 100,000-record database is taking 8 seconds when
the ADO recordset is set to use a client-side cursor, while it only
takes a few milliseconds for a server-side cursor.  But if I use a
server-side cursor, I get the "query-based update cannot find row to
update" error.  
 
I wanted to try using the ODBC driver for PostgreSQL 8.4.  But when I
installed it, I was surprised and dismayed to see that the old driver no
longer appeared in the list of available drivers when I tried to create
a new DSN.  At first, I thought that the new driver was working, but any
update query gave me a "multiple-step operation raised errors.  See
error list" error.
 
Is it possible to have the 8.1 and 8.4 ODBC drivers available at the
same time?  If so, how do I install the 8.4 driver so that the 8.1
driver is still available?
 
Thanks very much!
 
RobR

view thread (3+ messages)  latest in thread

Message-ID: <04A6DB42D2BA534FAC77B90562A6A03D01466009@server.rad-con.local>
Permalink:  ../04A6DB42D2BA534FAC77B90562A6A03D01466009@server.rad-con.local/
Also on:    postgresql.org/message-id/04A6DB42D2BA534FAC77B90562A6A03D01466009@server.rad-con.local

 · 

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-admin@postgresql.org
  Cc: Rob.Richardson@rad-con.com
  Subject: Re: PgsqlODBC 8.1 and 8.4 side-by-side installation
  In-Reply-To: <04A6DB42D2BA534FAC77B90562A6A03D01466009@server.rad-con.local>
  References: <1750933811.350727.1278484387395.JavaMail.app@ech3-cdn07.prod> <04A6DB42D2BA534FAC77B90562A6A03D01466009@server.rad-con.local>

* 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