Re: Sorting, when values are equal.... - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: Sorting, when values are equal....
Date
Msg-id 200410251731.49701.peter_e@gmx.net
Whole thread Raw
In response to Sorting, when values are equal....  ("Net Virtual Mailing Lists" <mailinglists@net-virtual.com>)
List pgsql-general
Net Virtual Mailing Lists wrote:
> If I do something like:
>
> SELECT * FROM sometable ORDER BY somerow DESC LIMIT 1 OFFSET 2;
>
> .. and there are multiple rows in sometable where somerow is
> identical, am I assured that the values will always come back in the
> same order? .....

No.

> Or do I need to ensure that a second sort (such as
> the oid?) is used?

Yes.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Bug or stupidity
Next
From: nd02tsk@student.hig.se
Date:
Subject: PgSQL MVCC vs MySQL InnoDB