Re: unexpected ORDER BY - Mailing list pgsql-sql

From Tom Lane
Subject Re: unexpected ORDER BY
Date
Msg-id 18805.1289319047@sss.pgh.pa.us
Whole thread Raw
In response to unexpected ORDER BY  (Andreas <maps.on@gmx.net>)
List pgsql-sql
Andreas <maps.on@gmx.net> writes:
> I've got an PG 8.4 on a opensuse box running.
> The DB is unicode german.

> There is a text column I'd like to order by but as far as I see PG 
> ignores special chars and uses only characters and numbers.

This is driven by the locale you're using, specifically the LC_COLLATE
setting.  If you want "plain ASCII" sort order, you need to switch to
C locale.
        regards, tom lane


pgsql-sql by date:

Previous
From: Andreas
Date:
Subject: unexpected ORDER BY
Next
From: Bryce Nesbitt
Date:
Subject: "slow lock" log in addition to log_min_duration_statement ?