Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 0D16A633466 for ; Wed, 7 Jul 2010 13:49:20 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 87848-09 for ; Wed, 7 Jul 2010 16:49:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from svr-grp1-mail.brickcitywebs.net (svr-grp1-mail.brickcitywebs.net [209.208.74.172]) by mail.postgresql.org (Postfix) with ESMTP id 28AB6633172 for ; Wed, 7 Jul 2010 13:49:11 -0300 (ADT) Received: (qmail 5098 invoked from network); 7 Jul 2010 12:20:43 -0400 Received: from (HELO outlook.rad-con.com) (12.49.144.162) by 209.208.74.172 with SMTP; 7 Jul 2010 12:20:43 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CB1DF4.50325865" 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> In-Reply-To: <1750933811.350727.1278484387395.JavaMail.app@ech3-cdn07.prod> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: PgsqlODBC 8.1 and 8.4 side-by-side installation thread-index: AcsdnmGkU3rvYNLPS7GsoNi2NW3efgATE4KQ References: <1750933811.350727.1278484387395.JavaMail.app@ech3-cdn07.prod> From: "Rob Richardson" To: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.898 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, UNPARSEABLE_RELAY=0.001 X-Spam-Level: X-Archive-Number: 201007/18 X-Sequence-Number: 35037 This is a multi-part message in MIME format. ------_=_NextPart_001_01CB1DF4.50325865 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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. =20 =20 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. =20 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? =20 Thanks very much! =20 RobR ------_=_NextPart_001_01CB1DF4.50325865 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
I have=20 a customer who is running PostgreSQL 8.1.  I recently updated an=20 application there, and it is running extremely slowly.  The = previous=20 version of the application runs fine, and the new version runs fine on = my=20 machine, which runs PostgresQL 8.4.  The problem is that a query = for a=20 single record from a 100,000-record database is taking 8 seconds when = the ADO=20 recordset is set to use a client-side cursor, while it only takes a few=20 milliseconds for a server-side cursor.  But if I use a server-side = cursor,=20 I get the "query-based update cannot find row to update" error. =20
 
I=20 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=20 appeared in the list of available drivers when I tried to create a new=20 DSN.  At first, I thought that the new driver was working, but any = update=20 query gave me a "multiple-step operation raised errors.  See error = list"=20 error.
 
Is it=20 possible to have the 8.1 and 8.4 ODBC drivers available at the same = time? =20 If so, how do I install the 8.4 driver so that the 8.1 driver is still=20 available?
 
Thanks=20 very much!
 
RobR
------_=_NextPart_001_01CB1DF4.50325865--