Re: Solve a problem of LC_TIME of windows. - Mailing list pgsql-hackers

From Hiroshi Saito
Subject Re: Solve a problem of LC_TIME of windows.
Date
Msg-id A9E283E4797A44F29E705B93E10372B9@HIRO57887DE653
Whole thread Raw
In response to Re: [PATCHES] Solve a problem of LC_TIME of windows.  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
List pgsql-hackers
Ooooops,my mistake in the mail thread.:-(
sorry.

=== send the mistake other thread  ==
Hi.

My swift attack test was the MinGW environment.
But, Inoue-san suggestion.

1. MinGW+gcc build
HIROSHI=# set LC_TIME=Ja;
SET
HIROSHI=# select to_char(now(),'TMDay');to_char
---------日曜日
(1 行)
HIROSHI=# set LC_TIME='Japan';
SET
HIROSHI=# select to_char(Now(),'TMDay');to_char
---------日曜日
(1 行)
HIROSHI=# set LC_TIME='Japanese';
SET
HIROSHI=# select to_char(Now(),'TMDay');to_char
---------日曜日
(1 行)

However,  A setup of 'Ja' was strange.?_?
http://msdn.microsoft.com/en-us/library/aa246450(VS.60).aspx

2. MSVC build
HIROSHI=# set LC_TIME='Ja';
ERROR:  invalid value for parameter "lc_time": "Ja"
STATEMENT:  set LC_TIME='Ja';
ERROR:  invalid value for parameter "lc_time": "Ja"
HIROSHI=# set LC_TIME='Japan';
ERROR:  invalid value for parameter "lc_time": "Japan"
STATEMENT:  set LC_TIME='Japan';
ERROR:  invalid value for parameter "lc_time": "Japan"
HIROSHI=# set LC_TIME=Japanese;
SET
HIROSHI=# select to_char(Now(),'TMDay');to_char
---------日曜日
(1 行)

Umm, Re-investigation is required for this. :-(
However, If reasonable clear, it will be good for a document at suggestion.

Regards,
Hiroshi Saito 



pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Documenting pglesslog
Next
From: Heikki Linnakangas
Date:
Subject: Re: Hot standby, slot ids and stuff