"Ujo Jozef" <ujojozef(at)gmail(dot)com> writes:
> Description: Bad sort order for UTF-8 texts on sk_SK.UTF-8 locale on
> 8.2.4
Your test case works as expected for me. Maybe there's something hosed
about the locale files on your machine? Does plain old sort(1) sort the
way you're expecting? Does "locale -a" agree that you've spelled the
locale name correctly?
Postgres just sorts the way strcoll() tells it to, so unless you've
messed up the database-encoding-vs-locale dependency (which you seem to
have gotten right), wrong sort order really boils down to being a locale
definition issue.
regards, tom lane