Re: To Postgres Devs : Wouldn't changing the select limit - Mailing list pgsql-general

From Tom Lane
Subject Re: To Postgres Devs : Wouldn't changing the select limit
Date
Msg-id 11415.1003549484@sss.pgh.pa.us
Whole thread Raw
In response to Re: To Postgres Devs : Wouldn't changing the select limit  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: To Postgres Devs : Wouldn't changing the select limit
List pgsql-general
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> One more thing.  I have added the code to suggest alternate syntax for
> LIMIT #,#:

>     test=> select * from pg_class LIMIT 1,1;
>     ERROR:  LIMIT #,# syntax no longer supported.  Use LIMIT # OFFSET #.

If you're going to do that, *please* suggest the *correct* substitution.
AFAICT, our version of LIMIT m,n transposes to OFFSET m LIMIT n; but
your message suggests the opposite.

            regards, tom lane

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: To Postgres Devs : Wouldn't changing the select limit
Next
From: Tom Lane
Date:
Subject: Re: To Postgres Devs : Wouldn't changing the select limit