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

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: default ordering of query result - are they always guarantee
Date: 2010-05-19 07:38:35
Message-ID: 20100519073835.GC3066@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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 explicitly make 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)

Regards, Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431 2EB0 389D 1DC2 3172 0C99

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Malm Paul 2010-05-19 07:46:10 Re: metadata on a table
Previous Message Malm Paul 2010-05-19 06:43:45 metadata on a table