Re: [BUGS] BUG #4186: set lc_messages does not work

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Thomas H(dot)" <me(at)alternize(dot)com>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>, Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>, Gevik Babakhani <pgdev(at)xs4all(dot)nl>, Dave Page <dpage(at)pgadmin(dot)org>
Subject: Re: [BUGS] BUG #4186: set lc_messages does not work
Date: 2009-01-20 14:51:16
Message-ID: 4975E4E4.5080109@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

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.

> Please note the patch relies on the proper gettext module.
> The header, lib and dlls are placed on Saito-san's site
> http://winpg.jp/~saito/pg_work/LC_MESSAGE_CHECK/libintl_check/

Aha, that I missed.

> Also note the current source tries to find the message catalog
> postgres-8.4.mo not postgres.mo.
> The attached is an example patch to change the name of mo files
> at installation time. I'm not good at perl and there may be
> cleaner way.

I've rewritten this a little bit, and will apply separately (when I have
a little more bandwidth to work with) since I assume this is needed even
without the other patch (for the non-changeable way we had before)

//Magnus

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Hiroshi Inoue 2009-01-20 18:06:00 Re: [BUGS] BUG #4186: set lc_messages does not work
Previous Message Marshall, Steve 2009-01-20 14:02:15 Re: pg_listener entries deleted under heavy NOTIFY load only on Windows

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2009-01-20 15:09:51 Re: libpq WSACleanup is not needed
Previous Message Greg Stark 2009-01-20 13:50:03 Re: is 8.4 array_agg() supposed to work with array values?