Re: [HACKERS] Getting number of tuples affected - Mailing list pgsql-hackers

From Vince Vielhaber
Subject Re: [HACKERS] Getting number of tuples affected
Date
Msg-id Pine.BSF.4.05.9906301038190.4581-100000@paprika.michvhf.com
Whole thread Raw
In response to Re: [HACKERS] Getting number of tuples affected  (Michael Richards <miker@scifair.acadiau.ca>)
Responses Patches to get number of tuples affected  (Michael Richards <miker@scifair.acadiau.ca>)
List pgsql-hackers
On Wed, 30 Jun 1999, Michael Richards wrote:

> On Wed, 30 Jun 1999, Vince Vielhaber wrote:
> 
> > > I was looking for a function to return the number of tuples an update
> > > returned, but couldn't find anything for libpq++. Any ideas?
> > 
> > Added to my list of stuff to do.  As to what else you can do, submit
> > patches? :)
> 
> > > There is no PgDatabase::exec
> > Yep.  Guess that should be data.Exec(...
> Not sure there is an Exec either :)

It's inherited.

> 
> I've been making a pile of changes to the PgDatabase class. (Actually I
> derived it). One such change is a function to quote a string you're going
> to use in SQL. I'm not sure if this belongs in the PgDatabase class, but
> if you think so, I'll add it before I submit the tuple count patches.

I don't think it belongs in PgDatabase.  I'm not even sure it belongs in
libpq++, although I can see its usefulness.

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH   email: vev@michvhf.com   flame-mail: /dev/null      # include <std/disclaimers.h>
       TEAM-OS2       Online Campground Directory    http://www.camping-usa.com      Online Giftshop Superstore
http://www.cloudninegifts.com
==========================================================================






pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] regression bigtest needs very long time
Next
From: "Ross J. Reedstrom"
Date:
Subject: Re: [GENERAL] Postgres Upsizing Tool for MSAccess 97