Re: [PATCHES] Patches to get number of tuples affected - Mailing list pgsql-hackers

From Michael Richards
Subject Re: [PATCHES] Patches to get number of tuples affected
Date
Msg-id Pine.BSF.4.10.9906301534400.12242-100000@scifair.acadiau.ca
Whole thread Raw
In response to Re: [PATCHES] Patches to get number of tuples affected  ("D'Arcy" "J.M." Cain <darcy@druid.net>)
Responses Re: [PATCHES] Patches to get number of tuples affected
List pgsql-hackers
On Wed, 30 Jun 1999, D'Arcy J.M. Cain wrote:

> Thus spake Michael Richards
> > Here are some diffs that implement a function called TuplesAffected. It
> > returns the number of tuples the last command affected, or 0 if the last
> > command was a SELECT. I added it to the PgConnection because it contains
> 
> Why not overload PGTuples() instead (assuming it doesn't already do this)?

Tuples returned tells you how many you can get using the getvalue series.
If you tried that with an update, it core dumps. I think the two are
really related, but fundamentally different.

-Michael



pgsql-hackers by date:

Previous
From: "D'Arcy" "J.M." Cain
Date:
Subject: Re: [PATCHES] Patches to get number of tuples affected
Next
From: Vince Vielhaber
Date:
Subject: Re: [PATCHES] Patches to get number of tuples affected