Re: [PATCHES] Patches to get number of tuples affected

From: "D'Arcy" "J(dot)M(dot)" Cain <darcy(at)druid(dot)net>
To: miker(at)scifair(dot)acadiau(dot)ca (Michael Richards)
Cc: vev(at)michvhf(dot)com, pgsql-patches(at)postgreSQL(dot)org, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [PATCHES] Patches to get number of tuples affected
Date: 1999-06-30 18:15:09
Message-ID: m10zOt4-0000bFC@druid.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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)?

--
D'Arcy J.M. Cain <darcy(at){druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 424 2871 (DoD#0082) (eNTP) | what's for dinner.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Richards 1999-06-30 18:36:00 Re: [PATCHES] Patches to get number of tuples affected
Previous Message Edmund Mergl 1999-06-30 17:39:30 Re: [HACKERS] Perl library (was Building Postgres)