From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bruno Wolff III <bruno(at)wolff(dot)to> |
Cc: | Andrus <eetasoft(at)online(dot)ee>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: illegal sort order |
Date: | 2005-07-12 20:40:04 |
Message-ID: | 22406.1121200804@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Bruno Wolff III <bruno(at)wolff(dot)to> writes:
> Andrus <eetasoft(at)online(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Marc G. Fournier | 2005-07-12 20:41:53 | Re: gborg borked again? |
Previous Message | Christopher Browne | 2005-07-12 20:38:14 | Re: Checkpoints are occurring too frequently... |