Re: cyrillic and sort order (ORDER BY)

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: cyrillic and sort order (ORDER BY)
Дата
Msg-id Pine.LNX.4.30.0101022143150.758-100000@peter.localdomain
обсуждение исходный текст
Ответ на cyrillic and sort order (ORDER BY)  (Mihail Marinov <liahim@bcci.bg>)
Ответы Re: cyrillic and sort order (ORDER BY)
Список pgsql-general
Mihail Marinov writes:

> My problem is that ORDER BY does not alphabetically order strings in
> proper way. Worst - it does sometimes work right but I can't find out
> exactly why. But after a while it stops until I rebuild and
> reconfigure.

You must have the same collation locale setting (LC_COLLATE, or LC_ALL as
default) when running initdb and when running postmaster.  Changing the
setting in between will result in random and incorrect results and
database corruption.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


В списке pgsql-general по дате отправления:

Предыдущее
От: Mihail Marinov
Дата:
Сообщение: cyrillic and sort order (ORDER BY)
Следующее
От:
Дата:
Сообщение: Re: How passwords can be crypted in postgres?