Re: RES: Order by behaviour

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: "Carlos H(dot) Reimer" <carlos(dot)reimer(at)opendb(dot)com(dot)br>
Cc: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: RES: Order by behaviour
Date: 2007-04-06 09:16:02
Message-ID: 20070406091602.GA6962@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Apr 05, 2007 at 06:46:27PM -0300, Carlos H. Reimer wrote:
> Hi,
>
> I was trying to find the docs about the collating sequence standards but
> could not find.
>
> Would like to know for example which characters are ignored by the "order
> by" in some of the collating types.

There are no standards. The collation used by the postgres is whatever
collation is done by your OS. So you need to check there...

Loosely defined, its sorts the same way as "sort" does. So you can test
by doing things like:

LC_COLLATE=foo sort <bar

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2007-04-06 09:55:12 Re: problem selecting from function
Previous Message Peter Wilson 2007-04-06 08:44:31 Re: Storing blobs in PG DB