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.