Negative offsets

Поиск
Список
Период
Сортировка
От CSN
Тема Negative offsets
Дата
Msg-id 20051212102518.58747.qmail@web52912.mail.yahoo.com
обсуждение исходный текст
Ответы Re: Negative offsets  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
I was playing around with negative offsets:

select * from table1 order by col1 offset -5 limit 25;
select * from table1 order by col1 offset -25 limit
25;
select * from table1 order by col1 offset -250 limit
25;

They all return the same resultset (offset 0). Is
there even any point in allowing negative offsets -
such as maybe someday they'll offset backwards?

thanks
csn

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Free Pascal and Postgresql Functions, Possible?
Следующее
От: Bernd Helmle
Дата:
Сообщение: Re: Free Pascal and Postgresql Functions, Possible?