Re: [BUGS] BUG #4186: set lc_messages does not work - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: [BUGS] BUG #4186: set lc_messages does not work
Date
Msg-id 4976F968.8020102@hagander.net
Whole thread Raw
In response to Re: [BUGS] BUG #4186: set lc_messages does not work  (Hiroshi Inoue <inoue@tpf.co.jp>)
List pgsql-hackers
Hiroshi Inoue wrote:
> Magnus Hagander wrote:
>> Hiroshi Inoue wrote:
>>> Magnus Hagander wrote:
>>>> There still needs to be some error checking added in IsoLocaleName(),
>>>> but this is a start.
>>>>
>>>> Can someone please test this? :-)
>>> OK I would check it tonight.
>>
>> Thanks.
> 
> OK seems to works here.
> The attached is a test case using lc_messages C, fr, de, es and sv.

I have applied this version of the patch with some more error checking
added to the ISO locale function.

Along with the separate commit for the .mo file naming, this should
hopefully take care of this issue?

//Magnus



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: about truncate
Next
From: Magnus Hagander
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Explicitly bind gettext() to the UTF8 locale when in use.