Re: [PATCH] Provide rowcount for utility SELECTs - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCH] Provide rowcount for utility SELECTs
Date
Msg-id 1262016844.10841.1.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: [PATCH] Provide rowcount for utility SELECTs  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCH] Provide rowcount for utility SELECTs
List pgsql-hackers
On mån, 2009-12-28 at 11:08 -0500, Tom Lane wrote:
> Boszormenyi Zoltan <zb@cybertec.at> writes:
> > Hans-Juergen Schoenig írta:
> >> just as a background info: this will have some positive side effects
> >> on embedded C programs which should be portable.
> 
> > Not just embedded C programs, every driver that's
> > based on libpq and used PQcmdTuples() will
> > automatically see the benefit.
> 
> And, by the same token, the scope for possibly breaking clients is nearly
> unlimited ...

Why is that?  Are there programs out there that expect PQcmdTuples() to
return something that is *not* the tuple count for these commands and
will violently misbehave otherwise?



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Provide rowcount for utility SELECTs
Next
From: Simon Riggs
Date:
Subject: Re: updateMinRecoveryPoint bug?