Re: BUG #4779: LIMIT/OFFSET behavior change (possibly related to Top-n)

Поиск
Список
Период
Сортировка
Искать
От
Thomas S. Chin
Тема
Re: BUG #4779: LIMIT/OFFSET behavior change (possibly related to Top-n)
Дата
Msg-id
49F1CE12.5010000@genx.net
Ответ на
Список
Дерево обсуждения
BUG #4779: LIMIT/OFFSET behavior change (possibly related to Top-n) "Thomas S. Chin" <thom@genx.net>
Re: BUG #4779: LIMIT/OFFSET behavior change (possibly related to Top-n) Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #4779: LIMIT/OFFSET behavior change (possibly related to Top-n) "Thomas S. Chin" <thom@genx.net>
Ah, okay, found the documentation mentioning this (LIMIT).  I was 
looking in the wrong place (ORDER BY clause).

Thanks again for the help.

Tom Lane wrote:
> "Thomas S. Chin"  writes:
>> I noticed that the behavior of queries that involve LIMIT/OFFSET no longer
>> return results consistent with the ordering of the same query without
>> LIMIT/OFFSET:
> 
> No, this is not considered a bug; no such behavior has ever been
> promised.  Read the fine manual.
> 
> (Your actual problem is that the sort ordering is underspecified, which
> means you'll get varying results anyway.)
> 
> 			regards, tom lane
В списке pgsql-bugs по дате отправления
От: Christine Penner
Дата:
От: Ted Holzman
Дата:
FAQ