Re: Proposed TODO: fetch->INT8

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Proposed TODO: fetch->INT8
Дата
Msg-id 6EE64EF3AB31D5448D0007DD34EEB3412A75DD@Herge.rcsinc.local
обсуждение исходный текст
Ответ на Proposed TODO: fetch->INT8  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
Ответы Re: Proposed TODO: fetch->INT8  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Proposed TODO: fetch->INT8
Следующее
От: Bruce Momjian
Дата:
Сообщение: In NYC Monday to Wednesday