X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 77C9AD781D for ; Wed, 7 Sep 2005 09:48:14 -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 16625-02 for ; Wed, 7 Sep 2005 12:48:09 +0000 (GMT) Received: from mailserver.sandvine.com (sandvine.com [199.243.201.138]) by svr1.postgresql.org (Postfix) with ESMTP id B45DFD76A0 for ; Wed, 7 Sep 2005 09:48:11 -0300 (ADT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: changed behavior in libpq odbc driver Date: Wed, 7 Sep 2005 08:48:15 -0400 Message-ID: <71837C040963F748B9B94E123A289678664E69@mailserver.sandvine.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ODBC] changed behavior in libpq odbc driver Thread-Index: AcWmX6B1ojlaWTubQf+Ja4Cwz8uchQAAVJfgAbnhinABfrcejwAOy5vQAAmdB8AAAHq5MAAAzEvw From: "Scot Loach" To: "Dave Page" , "Anoop Kumar" Cc: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200509/86 X-Sequence-Number: 5984 so I'm definitely still able to reproduce this problem. The test I'm running is somewhat complex, I can work on simplifying it. Maybe the error code is left around from before and not properly = cleared? -----Original Message----- From: Dave Page [mailto:dpage@vale-housing.co.uk] Sent: Wednesday, September 07, 2005 8:23 AM To: Scot Loach; Anoop Kumar Cc: pgsql-odbc@postgresql.org Subject: RE: [ODBC] changed behavior in libpq odbc driver Hmm, I hope not - the dup key test was the main one I used when testing! /D=20 > -----Original Message----- > From: Scot Loach [mailto:sloach@sandvine.com]=20 > Sent: 07 September 2005 13:10 > To: Dave Page; Anoop Kumar > Cc: pgsql-odbc@postgresql.org > Subject: RE: [ODBC] changed behavior in libpq odbc driver >=20 > I'm pretty sure my driver had that change already. > I'll update and double check though. >=20 > -----Original Message----- > From: Dave Page [mailto:dpage@vale-housing.co.uk] > Sent: Wednesday, September 07, 2005 3:35 AM > To: Scot Loach; Anoop Kumar > Cc: pgsql-odbc@postgresql.org > Subject: RE: [ODBC] changed behavior in libpq odbc driver >=20 >=20 > =20 >=20 > > -----Original Message----- > > From: Scot Loach [mailto:sloach@sandvine.com]=20 > > Sent: 07 September 2005 01:32 > > To: Anoop Kumar > > Cc: pgsql-odbc@postgresql.org; Dave Page > > Subject: RE: [ODBC] changed behavior in libpq odbc driver > >=20 > > I've found a problem with this. > > This causes the correct state to be returned on db=20 > disconnect, great. > > Unfortunately 08S01 is now returned for other errors as well. > > For example, trying to insert a row with a duplicate key into=20 > > a table will cause 08S01 to be returned now, this was not the=20 > > behavior before. >=20 > That's already fixed in CVS. >=20 > http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/ > connection > .c.diff?r1=3D1.108&r2=3D1.109 >=20 > Regards, Dave. >=20