Re: Cursor estimated row count - Mailing list pgsql-hackers

From Michael Fuhr
Subject Re: Cursor estimated row count
Date
Msg-id 20051112185600.GA92075@winnie.fuhr.org
Whole thread Raw
In response to Re: Cursor estimated row count  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sat, Nov 12, 2005 at 01:50:20PM -0500, Tom Lane wrote:
> Michael Fuhr <mike@fuhr.org> writes:
> > An occasionally asked question is "How can I find out how many rows
> > a cursor will return?" to which the answer is "Fetch them all."  But
> > what about a way to get the planner's estimate?  Would anybody find
> > that useful?
> 
> Given how far off it frequently is, I can't believe that any of the
> people who ask for the feature would find this a satisfactory answer :-(

That aside, do you see any problems with the code?  Is it at least
returning the right wrong answer? ;-)

-- 
Michael Fuhr


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: SIGSEGV taken on 8.1 during dump/reload
Next
From: "Jonah H. Harris"
Date:
Subject: Re: CONNECT BY PRIOR