Re: Negative LIMIT and OFFSET?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Negative LIMIT and OFFSET?
Дата
Msg-id 5830.1197869761@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Negative LIMIT and OFFSET?  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> "Tom Lane" <tgl@sss.pgh.pa.us> writes:
>> This behavior suggests that they can't even deal with LIMIT/OFFSET
>> values that aren't simple integer literals ...

> I suppose when they added these features I think they didn't have subqueries,
> so there wasn't really much useful that could be done with arbitrary
> expressions here. Being able to do "LIMIT 1+1" doesn't actually add anything.

Sure.  I think our first implementation of LIMIT was similarly
constrained.  It's just amusing that they haven't moved past that,
despite having had the feature first ...
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Negative LIMIT and OFFSET?
Следующее
От: "Gokulakannan Somasundaram"
Дата:
Сообщение: Re: EXPLAIN ANALYZE printing logical and hardware I/O per-node