Jeroen T. Vermeulen wrote:
> On Tue, Feb 25, 2003 at 02:04:50PM +0100, Christoph Haller wrote:
> >
> > Anyway, you may MOVE until 0 instead of FETCH, or use the COUNT()
> > function on the query to learn about the number of rows to be returned.
>
> Hmm... Wouldn't the reliability of a count() depend on the isolation
> level?
>
> OTOH the problem with MOVE ALL is that not all cursors support backward
> scrolling, apparently, and there is no clear documentation (or even
> diagnostics!) to determine whether they do.
7.4 does document MOVE ALL as going to the end of the cursor.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
In response to
Responses
pgsql-hackers by date
| Next: | From: Jeroen T. Vermeulen | Date: 2003-03-06 19:37:01 |
| Subject: Re: I cant find it or I'm just lazy ? |
| Previous: | From: Merlin Moncure | Date: 2003-03-06 19:02:21 |
| Subject: Re: Aggregate "rollup" |