pgsql: Explicitly bind gettext() to the UTF8 locale when in use. - Mailing list pgsql-committers

From mha@postgresql.org (Magnus Hagander)
Subject pgsql: Explicitly bind gettext() to the UTF8 locale when in use.
Date
Msg-id 20080527122442.A996C754C54@cvs.postgresql.org
Whole thread Raw
Responses Re: pgsql: Explicitly bind gettext() to the UTF8 locale when in use.
List 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

Modified Files:
--------------
    pgsql/src/backend/utils/mb:
        mbutils.c (r1.70 -> r1.71)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mb/mbutils.c?r1=1.70&r2=1.71)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Alter the xxx_pattern_ops opclasses to use the regular equality
Next
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Explicitly bind gettext() to the UTF8 locale when in use.