Re: Variable LIMIT and OFFSET in SELECTs

Поиск
Список
Период
Сортировка
От Reg Me Please
Тема Re: Variable LIMIT and OFFSET in SELECTs
Дата
Msg-id 200711160816.24159.regmeplease@gmail.com
обсуждение исходный текст
Ответ на Re: Variable LIMIT and OFFSET in SELECTs  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Variable LIMIT and OFFSET in SELECTs
Список 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 по дате отправления:

Предыдущее
От: Reg Me Please
Дата:
Сообщение: Re: Variable LIMIT and OFFSET in SELECTs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Variable LIMIT and OFFSET in SELECTs