Re: default ordering of query result - are they always guarantee - Mailing list pgsql-general

From Scott Marlowe
Subject Re: default ordering of query result - are they always guarantee
Date
Msg-id AANLkTim-NnZqSlK6sXGwmp1LH18hf9MG1Hu0KhdrzP-z@mail.gmail.com
Whole thread Raw
In response to Re: default ordering of query result - are they always guarantee  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Responses Re: default ordering of query result - are they always guarantee  ("Igor Neyman" <ineyman@perceptron.com>)
List 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 by date:

Previous
From: Malm Paul
Date:
Subject: Re: metadata on a table
Next
From: "BRUSSER Michael"
Date:
Subject: Re: TCL client interface