Re: Proposed TODO: fetch->INT8 - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: Proposed TODO: fetch->INT8
Date
Msg-id 6EE64EF3AB31D5448D0007DD34EEB3412A75DD@Herge.rcsinc.local
Whole thread Raw
In response to Proposed TODO: fetch->INT8  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
Responses Re: Proposed TODO: fetch->INT8  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Jeff wrote:
> Is there a practical use for retrieving > 2^31 records at once?
>
> (this is a serious question, I'm not arguing that it should cause a
> syntax error)
>
> Regards,
>     Jeff Davis
>
> On Mon, 2005-01-24 at 14:13 -0500, Merlin Moncure wrote:
> > I was browsing the TODO list and I noticed the todo to bump
limit/offset
> > to int8.  IMO, the flavors of fetch that take a numeric parameter
need
> > this as well.
> >
> > FWIW, trying to pass integer > 2^31 to fetch gives a syntax error,
which
> > is clearly wrong.

No, but don't forget about relative positioning:
fetch relative c from huge_cursor;

Could make a reasonable case for that.
Merlin


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Proposed TODO: fetch->INT8
Next
From: Bruce Momjian
Date:
Subject: In NYC Monday to Wednesday