Re: Negative LIMIT and OFFSET?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Negative LIMIT and OFFSET?
Дата
Msg-id 15228.1197675744@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Negative LIMIT and OFFSET?  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: Negative LIMIT and OFFSET?  ("Jonah H. Harris" <jonah.harris@gmail.com>)
Re: Negative LIMIT and OFFSET?  (Simon Riggs <simon@2ndquadrant.com>)
Re: Negative LIMIT and OFFSET?  (Andrew Sullivan <ajs@crankycanuck.ca>)
Список pgsql-hackers
Simon Riggs <simon@2ndquadrant.com> writes:
> I even found an existing, unused error message called
> ERRCODE_INVALID_LIMIT_VALUE

That's a bad idea I think.  That code is defined by SQL99.  I can't find
anyplace that they specify what it should be raised for, but we can be
pretty confident that it's not meant for LIMIT.  I think we should
just use INVALID_PARAMETER_VALUE.

How do people feel about applying this to 8.3, rather than holding it?
One possible objection is that we're past string freeze, but I noted
Peter doing some message editorializing as recently as today, so it
would seem a slushy freeze at best.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: VLDB Features
Следующее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: Negative LIMIT and OFFSET?