]> granicus.if.org Git - postgresql/commit
Encoding PG_UHC is code page 949.
authorNoah Misch <noah@leadboat.com>
Sat, 15 Aug 2015 00:23:13 +0000 (20:23 -0400)
committerNoah Misch <noah@leadboat.com>
Sat, 15 Aug 2015 00:23:42 +0000 (20:23 -0400)
commita0104e08079dc5e7b903c7d6906cc6b64c4ad041
treecb9d76b47e8109e865c368f372022e5f261b8f83
parentf988da953945136c8e511550226884dcbebe5b6b
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.
src/backend/utils/mb/encnames.c