Re: Controlling Reuslts with Limit

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Controlling Reuslts with Limit
Дата
Msg-id 654.982964367@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Controlling Reuslts with Limit  (Najm Hashmi <najm@mondo-live.com>)
Список pgsql-sql
Najm Hashmi <najm@mondo-live.com> writes:
>  I just want to know what exatly --"LIMIT without ORDER BY returns random rows
> from the query" --means

It means the results aren't guaranteed.  It doesn't mean that the exact
same query run under the exact same conditions by the exact same version
of Postgres won't return the same results every time.  Especially not
one that's too simple to have more than one possible execution plan...
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Controlling Reuslts with Limit
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Controlling Reuslts with Limit