From: | Maximilian Tyrtania <maximilian(dot)tyrtania(at)onlinehome(dot)de> |
---|---|
To: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
Cc: | <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: Distinct oddity |
Date: | 2009-05-12 18:29:36 |
Message-ID: | C62F8CB0.360D2%maximilian.tyrtania@onlinehome.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
am 12.05.2009 19:23 Uhr schrieb Alvaro Herrera unter
alvherre(at)commandprompt(dot)com:
>> FAKDB=# CREATE DATABASE "TestLatin9"
>> FAKDB-# WITH ENCODING='LATIN9'
>> FAKDB-# OWNER=postgres;
>> ERROR: encoding LATIN9 does not match server's locale de_DE
>> DETAIL: The server's LC_CTYPE setting requires encoding UTF8.
>> FAKDB=#
>>
>> Now i'm deeply confused...So do i have to re-initdb?
>
> Hmm, I didn't expect this. I guess I assumed de_DE was an alias for
> the Latin1- or Latin9- encoded locale, but it seems your system uses it
> as an alias for the UTF-8 encoded one. So my initial comment seems to
> be wrong as well. Please paste the output of the "locale" command.
Sputnik-Server:~ administrator$ locale
LANG=
LC_COLLATE="C"
LC_CTYPE="C"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL="C"
> What platform are you using anyway?
Mac OS 10.4.11
Best,
Maximilian Tyrtania
From | Date | Subject | |
---|---|---|---|
Next Message | Maximilian Tyrtania | 2009-05-13 12:37:43 | Re: Distinct oddity |
Previous Message | Alvaro Herrera | 2009-05-12 17:23:57 | Re: Distinct oddity |