Re: illegal sort order

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: illegal sort order
Дата
Msg-id 22406.1121200804@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: illegal sort order  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
Bruno Wolff III <bruno@wolff.to> writes:
>   Andrus <eetasoft@online.ee> wrote:
>> SHOW ALL command returns the following:
>>
>> "client_encoding";"UNICODE"
>> "lc_collate";"Estonian_Estonia.1257"
>> "lc_ctype";"Estonian_Estonia.1257"
>> "lc_messages";"Estonian_Estonia.1257"
>> "lc_monetary";"Estonian_Estonia.1257"
>> "lc_numeric";"Estonian_Estonia.1257"
>> "lc_time";"Estonian_Estonia.1257"

> Are you running this on Windows? There is a problem with Unicode there.

Windows or not, the locale name suggests *very* strongly that it is not
a Unicode-using locale.  If the database encoding doesn't match what the
locale is expecting then strange sort order is exactly what you are
likely to get.

We should defend against these sorts of configuration problems more
thoroughly, but it seems to be hard in general to determine what
character set a locale is actually using :-(

            regards, tom lane

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

Предыдущее
От: Mark Rae
Дата:
Сообщение: Re: [PERFORM] Projecting currentdb to more users
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: gborg borked again?