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 51EED529E7 for ; Thu, 18 Aug 2005 11:03:29 -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 06125-02 for ; Thu, 18 Aug 2005 14:03:26 +0000 (GMT) Received: from mailserver.sandvine.com (sandvine.com [199.243.201.138]) by svr1.postgresql.org (Postfix) with ESMTP id AA066529E5 for ; Thu, 18 Aug 2005 11:03:24 -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: Thu, 18 Aug 2005 10:03:28 -0400 Message-ID: <71837C040963F748B9B94E123A289678664BE0@mailserver.sandvine.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ODBC] changed behavior in libpq odbc driver Thread-Index: AcWjltfa0+q/HluFQAypmsqQeI1doQAR/CbAAAeiepA= From: "Scot Loach" To: "Anoop Kumar" , 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: 200508/155 X-Sequence-Number: 5794 OS is FreeBSD 5.4, but I really don't think this matters. PostgreSQL 7.4.6 old psqlodbc is version 07.03.0200, but it has various updates applied = to it. new psqlodbc is the latest from CVS as of about a week ago. -----Original Message----- From: Anoop Kumar [mailto:anoopk@pervasive-postgres.com] Sent: Thursday, August 18, 2005 6:23 AM To: Scot Loach; pgsql-odbc@postgresql.org Subject: RE: [ODBC] changed behavior in libpq odbc driver Hi Scot, Can you provide the following details? 1. The psqlodbc (socket) version you used 2. PostgreSQL version 3. OS Regards Anoop > -----Original Message----- > From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc- > owner@postgresql.org] On Behalf Of Scot Loach > Sent: Thursday, August 18, 2005 7:18 AM > To: pgsql-odbc@postgresql.org > Subject: [ODBC] changed behavior in libpq odbc driver >=20 > I'm not sure whether the old driver or the new one is correct. >=20 > When executing an UPDATE query with a WHERE clause, if the WHERE clause > does not match any rows, the old driver returns SQL_NO_DATA. The new > driver returns SQL_SUCCESS. >=20 >=20 >=20 > ---------------------------(end of broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match