Re: Variable LIMIT and OFFSET in SELECTs - Mailing list pgsql-general

From Reg Me Please
Subject Re: Variable LIMIT and OFFSET in SELECTs
Date
Msg-id 200711160816.24159.regmeplease@gmail.com
Whole thread Raw
In response to Re: Variable LIMIT and OFFSET in SELECTs  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Variable LIMIT and OFFSET in SELECTs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Il Friday 16 November 2007 07:38:30 Tom Lane ha scritto:
> IIRC, it used to be restricted to a constant, a few revisions back.
> In current releases the only restriction that stems from laziness is
> not allowing a sub-select.  (If anyone were to put forward a serious
> use-case, we'd probably go fix that.)

Mine was not serious enough!
Sigh! :-)

> The OP's complaint is that we don't allow a variable of the query's own
> level, but AFAICT he's still not grasped the point that that leads to an
> indeterminate limit value ...

So it works, but it's not serious enough to be unlocked.
Sigh! :-)

--
Reg me Please

pgsql-general by date:

Previous
From: Reg Me Please
Date:
Subject: Re: Variable LIMIT and OFFSET in SELECTs
Next
From: Tom Lane
Date:
Subject: Re: Variable LIMIT and OFFSET in SELECTs