From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Gevik Babakhani <pgdev(at)xs4all(dot)nl>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: NLS on MSVC strikes back! |
Date: | 2008-02-12 15:02:34 |
Message-ID: | 200802121502.m1CF2Y103493@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Andrew Dunstan wrote:
>
>
> Alvaro Herrera wrote:
> > 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.
> >
> >
>
> FSVO "supposed to".
>
> The CVS history is somewhat murky.
>
> On Nov 24 2006 this was committed dor src/backend/utils/adt/formatting.c:
>
> r 1.114: Fix to_char() locale handling to honor LC_TIME, not LC_MESSAGES.
>
> A few hours later it was supposedly reverted: r 1.115: Revert (too late
> in beta): Fix to_char() locale handling to honor LC_TIME, not LC_MESSAGES.
>
> Apparently this was never returned to (it should probably have been put
> on the patches hold queue).
Added to TODO list:
o Use LC_TIME for localized weekday/month names, rather than
LC_MESSAGES
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-02-12 15:03:49 | Re: postmaster in a tight loop |
Previous Message | Hiroshi Saito | 2008-02-12 14:57:58 | Re: NLS on MSVC strikes back! |