From: Ron Johnson <ron.l.johnson@cox.net>
To: PgSQL Performance ML <pgsql-performance@postgresql.org>
Subject: Re: Cursor rowcount
Date: 14 Jan 2003 03:12:28 -0600
Message-ID: <1042535548.27702.31.camel@haggis> (raw)
In-Reply-To: <12895.1042517980@sss.pgh.pa.us>
References: <49456.216.80.95.13.1042493599.squirrel@www.l-i-e.com>
<6429.1042496530@sss.pgh.pa.us>
<50156.216.80.95.13.1042506350.squirrel@www.l-i-e.com>
<12895.1042517980@sss.pgh.pa.us>
On Mon, 2003-01-13 at 22:19, Tom Lane wrote:
> <typea@l-i-e.com> writes:
> > Yes, but as noted in my longer version, that number does not seem to "come
> > through" the PHP API.
>
> Perhaps not, but you'd have to ask the PHP folk about it. This question
> surely doesn't belong on pgsql-performance ...
Wellllll, maybe it does, since the /performance/ of a SELECT COUNT(*)
followed by a cursor certainly is lower than getting the count from
a system variable.
But still I agree, the PHP list seems more appropriate...
--
+------------------------------------------------------------+
| Ron Johnson, Jr. mailto:ron.l.johnson@cox.net |
| Jefferson, LA USA http://members.cox.net/ron.l.johnson |
| |
| "Basically, I got on the plane with a bomb. Basically, I |
| tried to ignite it. Basically, yeah, I intended to damage |
| the plane." |
| RICHARD REID, who tried to blow up American Airlines |
| Flight 63 |
+------------------------------------------------------------+
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-performance@postgresql.org
Cc: ron.l.johnson@cox.net
Subject: Re: Cursor rowcount
In-Reply-To: <1042535548.27702.31.camel@haggis>
References: <49456.216.80.95.13.1042493599.squirrel@www.l-i-e.com> <6429.1042496530@sss.pgh.pa.us> <50156.216.80.95.13.1042506350.squirrel@www.l-i-e.com> <12895.1042517980@sss.pgh.pa.us> <1042535548.27702.31.camel@haggis>
* 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