Re: default ordering of query result - are they always guarantee

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: default ordering of query result - are they always guarantee
Дата
Msg-id AANLkTim-NnZqSlK6sXGwmp1LH18hf9MG1Hu0KhdrzP-z@mail.gmail.com
обсуждение исходный текст
Ответ на Re: default ordering of query result - are they always guarantee  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Ответы Re: default ordering of query result - are they always guarantee  ("Igor Neyman" <ineyman@perceptron.com>)
Список pgsql-general
On Wed, May 19, 2010 at 1:38 AM, A. Kretschmer
<andreas.kretschmer@schollglas.com> wrote:
> In response to Guillaume Lelarge :
>> > This is the default behavior I want. However, I am not sure whether this is always guarantee? Or shall I
explicitlymake the query in the following form? 
>>
>> An you're right. It's not guaranted. The only guaranted way is to use
>> ORDER BY your_column.
>
> ACK. One reason is the new feature 'synchronised scan' sind 8.3. It's a
> big performance boost, but engendered unsorted results. (if there is not
> the ORDER BY - statement)

Just for reference I once had three separate oracle dbas saying my pg
server was broken because group by came out in random order (due to
hash aggregates).

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

Предыдущее
От: Malm Paul
Дата:
Сообщение: Re: metadata on a table
Следующее
От: "BRUSSER Michael"
Дата:
Сообщение: Re: TCL client interface