Re: Cursor estimated row count

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Cursor estimated row count
Date: 2005-11-12 18:50:20
Message-ID: 28801.1131821420@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Fuhr <mike(at)fuhr(dot)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 :-(

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2005-11-12 18:51:40 Re: SIGSEGV taken on 8.1 during dump/reload
Previous Message Michael Fuhr 2005-11-12 18:31:44 Cursor estimated row count