]> 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:13 +0000 (20:23 -0400)
commitec79978dd059d51c8c28efae949d115987588011
tree95742dda334e7c4a1fae5a958e6ea6bdb01d8a12
parent43adc7a7147da2404bd4df0d8a93ca3bd3a8adc6
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