Re: Proposed TODO: fetch->INT8

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Merlin Moncure <merlin(dot)moncure(at)rcsonline(dot)com>
Cc: Jeff Davis <jdavis-pgsql(at)empires(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Proposed TODO: fetch->INT8
Date: 2005-02-01 04:56:38
Message-ID: 200502010456.j114ucC29478@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Merlin Moncure wrote:
> 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;

TODO updated:

* Change LIMIT/OFFSET and FETCH/MOVE to use int8

--
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Fuhr 2005-02-01 05:30:13 Re: Last ID Problem
Previous Message Bruce Momjian 2005-02-01 04:54:32 Re: Some things I like to pick from the TODO list ...