pgsql: Encoding PG_UHC is code page 949. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Encoding PG_UHC is code page 949.
Date
Msg-id E1ZQPIh-00085x-Fe@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Encoding PG_UHC is code page 949.

This fixes presentation of non-ASCII messages to the Windows event log
and console in rare cases involving Korean locale.  Processes like the
postmaster and checkpointer, but not processes attached to databases,
were affected.  Back-patch to 9.4, where MessageEncoding was introduced.
The problem exists in all supported versions, but this change has no
effect in the absence of the code recognizing PG_UHC MessageEncoding.

Noticed while investigating bug #13427 from Dmitri Bourlatchkov.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/a0104e08079dc5e7b903c7d6906cc6b64c4ad041

Modified Files
--------------
src/backend/utils/mb/encnames.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: pgsql: Encoding PG_UHC is code page 949.
Next
From: Noah Misch
Date:
Subject: pgsql: Restore old pgwin32_message_to_UTF16() behavior outside transact