Re: Cursor rowcount - Mailing list pgsql-performance

From Ron Johnson
Subject Re: Cursor rowcount
Date
Msg-id 1042535548.27702.31.camel@haggis
Whole thread Raw
In response to Re: Cursor rowcount  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
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                                 |
+------------------------------------------------------------+


pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Cursor rowcount
Next
From: Tomasz Myrta
Date:
Subject: complicated queries in pl/pgsql