pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scot Loach <sloach@sandvine.com>
To: Anoop Kumar <anoopk@pervasive-postgres.com>
To: Dave Page <dpage@vale-housing.co.uk>
To: pgsql-odbc@postgresql.org
Subject: Re: psqlODBC 08.00.0102 available for download
Date: Fri, 12 Aug 2005 09:58:52 -0400
Message-ID: <71837C040963F748B9B94E123A289678664B9C@mailserver.sandvine.com> (raw)

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. 

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
> 
> 
> 
> > -----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?
> 
> I'll investigate....
> 
> /D
> 
> ---------------------------(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



view thread (15+ messages)

Message-ID: <71837C040963F748B9B94E123A289678664B9C@mailserver.sandvine.com>
Permalink:  ../71837C040963F748B9B94E123A289678664B9C@mailserver.sandvine.com/
Also on:    postgresql.org/message-id/71837C040963F748B9B94E123A289678664B9C@mailserver.sandvine.com

 · 

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-odbc@postgresql.org
  Cc: sloach@sandvine.com, anoopk@pervasive-postgres.com, dpage@vale-housing.co.uk
  Subject: Re: psqlODBC 08.00.0102 available for download
  In-Reply-To: <71837C040963F748B9B94E123A289678664B9C@mailserver.sandvine.com>
  References: <71837C040963F748B9B94E123A289678664B9C@mailserver.sandvine.com>

* 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