Re: Negative offsets

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: Negative offsets
Дата
Msg-id 20051217002656.GD53809@pervasive.com
обсуждение исходный текст
Ответ на Re: Negative offsets  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
On Fri, Dec 16, 2005 at 07:14:42PM -0500, Bruce Momjian wrote:
> Actually we allow negative offsets and limits.  Seems we should disallow
> them.  Yes, it would be interesting if they did offsets relative to the
> end of the result set.

Either interesting or a great way to introduce bugs... AFAIK you can
always get the same behavior just by reversing the sort order, so I'd
lean towards not allowing negative offsets.
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Negative offsets
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: client_encoding values