From: | "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp> |
---|---|
To: | "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, "Gevik Babakhani" <pgdev(at)xs4all(dot)nl> |
Cc: | <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: NLS on MSVC strikes back! |
Date: | 2008-02-12 14:57:58 |
Message-ID: | 017301c86d87$a7f78c10$0301a8c0@HP22720319231 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi
--Document.--
Table 9-22.
TM prefix translation mode (print localized day and month names based on lc_messages)
--
http://winpg.jp/~saito/pg_work/NLS_TO_CHAR_JP.png
But, Although Japanese is out of condition....
Does the fundamental specification change?
Regards,
Hiroshi Saito
----- Original Message -----
From: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>
> Gevik Babakhani wrote:
>> I have compiled 8.3 (CVS HEAD) with NLS on a XP box. But it seems that NLS
>> support is broke.
>> Could someone please confirm this.
>
> What I can confirm is that lc_messages is supposed to work for to_char,
> because it shows the localized output for me as I change lc_messages;
> and it doesn't if I change lc_time.
>
> In any case,
>
>> Gevik=# show lc_messages ;
>> lc_messages
>> ----------------------------
>> English_United States.1252
>> (1 row)
>>
>> Gevik=#
>> Gevik=# set lc_messages TO 'de_DE.utf8';
>> SET
>
> I wonder if this is really valid. Shouldn't you be using a locale name
> like 'German_Germany.65001' or some such? I thought Windows did not
> recognize the de_DE.utf8 form of names. Perhaps it failed to raise an
> error here? It does for me:
>
> alvherre=# set lc_time to 'fr_CA.utf8';
> SET
> alvherre=# set lc_time to 'de_DE.utf8';
> ERROR: valor no válido para el parámetro «lc_time»: «de_DE.utf8»
>
> Suffice to say I don't have the de_DE locale installed.
>
> --
> Alvaro Herrera http://www.CommandPrompt.com/
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2008-02-12 15:02:34 | Re: NLS on MSVC strikes back! |
Previous Message | Alvaro Herrera | 2008-02-12 14:46:09 | Re: postmaster in a tight loop |