Re: Stable sort? - Mailing list pgsql-general

From Tom Lane
Subject Re: Stable sort?
Date
Msg-id 21192.1162998286@sss.pgh.pa.us
Whole thread Raw
In response to Re: Stable sort?  ("redhog" <redhog@redhog.org>)
Responses Re: Stable sort?  ("Dann Corbit" <DCorbit@connx.com>)
List pgsql-general
"redhog" <redhog@redhog.org> writes:
> My question was if the order of two
> elements whose internal order is not affected by the current ordering
> clause, still may change places due to technicalities.

Postgres usually sorts using qsort(), which (on most platforms) is not
stable in that sense.

            regards, tom lane

pgsql-general by date:

Previous
From: "Woody Woodring"
Date:
Subject: Re: WAL ends before end time of backup dump
Next
From: Erik Jones
Date:
Subject: Re: Question on inserting and querying at the same time.