Re: limit-offset different result sets with same query - Mailing list pgsql-general

From Merlin Moncure
Subject Re: limit-offset different result sets with same query
Date
Msg-id b42b73150905091024u5d242cceu43ef5700dabe36b5@mail.gmail.com
Whole thread Raw
In response to Re: limit-offset different result sets with same query  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: limit-offset different result sets with same query  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Fri, May 8, 2009 at 5:40 PM, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
> David Fetter escribió:
>> On Fri, May 08, 2009 at 06:10:18PM -0300, Emanuel Calvo Franco wrote:
>> > Hi all.
>> >
>> > I'll make this faster.
>> >
>> > I hace this table and this function:
>>
>> You should only ever assume that your SELECT's output will have a
>> particular ordering when you include an ORDER BY clause that actually
>> specifies the order well enough :)
>
> Yeah, we went over this on the spanish list, turned out that I couldn't
> remember about syncscan :-)

I like the new behavior.  It really encourages proper use of order by,
because the natural ordering results are effectively randomized.  A
class of subtle bugs has been made obvious.  :)

merlin

pgsql-general by date:

Previous
From: Emanuel Calvo Franco
Date:
Subject: Re: limit-offset different result sets with same query
Next
From: Tom Lane
Date:
Subject: Re: limit-offset different result sets with same query