Encoding PG_UHC is code page 949.

Noah Misch <noah@leadboat.com>

Commit: f19ad6fbe46afe5005fb0f38ebd436c7cfcbb9ec
Author: Noah Misch <noah@leadboat.com>
Date: 2015-08-15T00:23:35Z
Releases: 9.5.0
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.

Files

PathChange+/−
src/backend/utils/mb/encnames.c modified +1 −1