strange order by - Mailing list pgsql-novice

From Jean-Yves F. Barbier
Subject strange order by
Date
Msg-id 20111230192027.40281096@anubis.defcon1
Whole thread Raw
List pgsql-novice
Hi list,

My svr & clients are in fr_FR.utf-8.

SELECT note FROM tst1m ORDER BY note DESC;
return me strings beginning with 'Z' or 'z' but also 'ẞ'!

I also wonder why the generated query:
SELECT id,name,note FROM tst1m ORDER BY note DESC LIMIT 400 OFFSET 0;
is mixing rows beginning with 'Z' and 'z' instead of presenting
'Z' before 'z' (same reason?)

Is it the base collation that returns me these strange results
(or what else)?  And I can I recover a normal behavior?

JY
--
Dammit Jim, I'm an actor, not a doctor.

pgsql-novice by date:

Previous
From: "Jean-Yves F. Barbier"
Date:
Subject: Re: index refuses to build [DEFINITELY SOLVED :-]
Next
From: "Jean-Yves F. Barbier"
Date:
Subject: is it normal behavior of index?