Skip site navigation (1) Skip section navigation (2)

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:42
Message-ID: 20080527122442.A996C754C54@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
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)

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2008-05-27 13:44:02
Subject: Re: keyword list/ecpg
Previous:From: Michael MeskesDate: 2008-05-27 10:17:31
Subject: Re: WITH RECURSIVE patches V0.1 TODO items

pgsql-committers by date

Next:From: Magnus HaganderDate: 2008-05-27 12:24:44
Subject: pgsql: Explicitly bind gettext() to the UTF8 locale when in use.
Previous:From: Tom LaneDate: 2008-05-27 00:13:09
Subject: pgsql: Alter the xxx_pattern_ops opclasses to use the regular equality

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group