pgsql: Explicitly bind gettext() to the UTF8 locale when in use.

From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Explicitly bind gettext() to the UTF8 locale when in use.
Date: 2008-05-27 12:24:46
Message-ID: 20080527122446.54CAF754C54@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Explicitly bind gettext() to the UTF8 locale when in use.
This is required on Windows due to the special locale
handling for UTF8 that doesn't change the full environment.

Fixes crash with translated error messages per bugs 4180
and 4196.

Tom Lane

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
pgsql/src/backend/utils/mb:
mbutils.c (r1.69 -> r1.69.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mb/mbutils.c?r1=1.69&r2=1.69.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message User Gleu 2008-05-27 15:56:49 pgsnap - pgsnap: Bugfix : default report for statistics tab should be
Previous Message Magnus Hagander 2008-05-27 12:24:44 pgsql: Explicitly bind gettext() to the UTF8 locale when in use.