Re: Textdomains - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Textdomains
Date
Msg-id 49749AC3.6040809@gmx.net
Whole thread Raw
In response to Textdomains  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Textdomains  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander wrote:
> I've extracted this patch from Hiroshi Inoues patch about bug #4186. Per
> his comment, "It also includes the changes to mbutils.c and elog.c which
> fix recently introduced bug by the domain name change from "postgres" to
> "postgres-8.4"."
> 
> 
> Can somebody who actually knows how that works comment on it, please :-)

It looks correct.

Note, however, that we now support translation of loaded modules, so you 
would really need to go around and call bind_textdomain_codeset() for 
all catalogs that pop up dynamically.  So that part might need some more 
work.


pgsql-hackers by date:

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