X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5829B52E62 for ; Fri, 12 Aug 2005 10:58:55 -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 19580-03 for ; Fri, 12 Aug 2005 13:58:53 +0000 (GMT) Received: from mailserver.sandvine.com (sandvine.com [199.243.201.138]) by svr1.postgresql.org (Postfix) with ESMTP id 50F2C52E5C for ; Fri, 12 Aug 2005 10:58:52 -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: psqlODBC 08.00.0102 available for download Date: Fri, 12 Aug 2005 09:58:52 -0400 Message-ID: <71837C040963F748B9B94E123A289678664B9C@mailserver.sandvine.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ODBC] psqlODBC 08.00.0102 available for download Thread-Index: AcWXOmmpDaY+/BTBTe+ZYNtVrBD5wAG5Z6YvAAuubDAALMf3MAARAqOA From: "Scot Loach" To: "Anoop Kumar" , "Dave Page" , X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200508/120 X-Sequence-Number: 5759 Thanks Anoop. Actually I think the old driver always returned 0 for select statements = too, so the behavior should now be consistent. scot. -----Original Message----- From: Anoop Kumar [mailto:anoopk@pervasive-postgres.com] Sent: Friday, August 12, 2005 2:11 AM To: Dave Page; Scot Loach; pgsql-odbc@postgresql.org Subject: RE: [ODBC] psqlODBC 08.00.0102 available for download Hi Scot, I am attaching a patch to solve the SQLRowCount() issue you have faced. This should enable you to get the number of rows affected by an INSERT/DELETE or UPDATE operation. The old odbc driver returned the number of rows after a select statement. Now the libpq enabled version returns a zero.=20 Regards Anoop > -----Original Message----- > From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc- > owner@postgresql.org] On Behalf Of Dave Page > Sent: Thursday, August 11, 2005 1:59 PM > To: Scot Loach; pgsql-odbc@postgresql.org > Subject: Re: [ODBC] psqlODBC 08.00.0102 available for download >=20 >=20 >=20 > > -----Original Message----- > > From: Scot Loach [mailto:sloach@sandvine.com] > > Sent: 11 August 2005 03:56 > > To: Dave Page; pgsql-odbc@postgresql.org > > Subject: RE: [ODBC] psqlODBC 08.00.0102 available for download > > > > I finally got around to giving the new driver a try. > > > > There's one major problem I'm running into. Specifically, > > the SQLRowCount() function doesn't work with the libpq implementation. > > > > Can anyone comment on this? >=20 > I'll investigate.... >=20 > /D >=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