Re: Stable sort?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "redhog" <redhog(at)redhog(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Stable sort?
Date: 2006-11-08 15:04:46
Message-ID: 21192.1162998286@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"redhog" <redhog(at)redhog(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Erik Jones 2006-11-08 16:01:23 Re: Question on inserting and querying at the same time.
Previous Message Woody Woodring 2006-11-08 14:39:43 Re: WAL ends before end time of backup dump