AW: [HACKERS] SELECT ... LIMIT (trial implementation)

From: Andreas Zeugswetter <andreas(dot)zeugswetter(at)telecom(dot)at>
To: "'hackers(at)postgresql(dot)org'" <hackers(at)postgresql(dot)org>
Subject: AW: [HACKERS] SELECT ... LIMIT (trial implementation)
Date: 1998-10-19 10:19:56
Message-ID: 01BDFB5B.1512EF00@zeugswettera.user.lan.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
> > What if someone wants the rows from 500 to the end. Should we allow
> > the syntax to be:
> > SELECT ... [LIMIT count] [OFFSET offset]
> > LIMIT and OFFSET are independent.
>
> I like that syntax the best, but remember we are not inventing in
> a green field here. Isn't this a feature that already exists in
> other DBMs? We should probably copy their syntax, unless it's
> truly spectacularly awful...

Informix uses the following syntax, but does not have the offset feature:

select first 100 * from table ....

Andreas

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1998-10-19 10:30:52 Re: [HACKERS] What about LIMIT in SELECT ?
Previous Message Jan Wieck 1998-10-19 10:07:38 Re: [HACKERS] Crashing backend!