strange order by

From: "Jean-Yves F(dot) Barbier" <12ukwn(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: strange order by
Date: 2011-12-30 18:20:27
Message-ID: 20111230192027.40281096@anubis.defcon1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Browse pgsql-novice by date

  From Date Subject
Next Message Jean-Yves F. Barbier 2012-01-01 05:08:39 is it normal behavior of index?
Previous Message Jean-Yves F. Barbier 2011-12-30 16:06:13 Re: index refuses to build [DEFINITELY SOLVED :-]