aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorItagaki Takahiro <itagaki.takahiro@gmail.com>2010-04-28 00:29:16 +0000
committerItagaki Takahiro <itagaki.takahiro@gmail.com>2010-04-28 00:29:16 +0000
commit7780c4124b57cffc106936af96916ade78059f86 (patch)
treea62403b2dbaffb8c86d20a435c09a09cf494214e /src
parent2871b4618af1acc85665eec0912c48f8341504c4 (diff)
downloadpostgresql-7780c4124b57cffc106936af96916ade78059f86.tar.gz
postgresql-7780c4124b57cffc106936af96916ade78059f86.zip
Add CP949 as an alias for UHC encoding. pg_get_encoding_from_locale()
with kor locale on Windows can use the path. Reported by Hiroshi Inoue.
Diffstat (limited to 'src')
-rw-r--r--src/port/chklocale.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/port/chklocale.c b/src/port/chklocale.c
index 6866353977e..18c068658db 100644
--- a/src/port/chklocale.c
+++ b/src/port/chklocale.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/port/chklocale.c,v 1.15 2010/02/26 02:01:38 momjian Exp $
+ * $PostgreSQL: pgsql/src/port/chklocale.c,v 1.16 2010/04/28 00:29:16 itagaki Exp $
*
*-------------------------------------------------------------------------
*/
@@ -172,6 +172,7 @@ static const struct encoding_match encoding_match_list[] = {
{PG_GBK, "CP936"},
{PG_UHC, "UHC"},
+ {PG_UHC, "CP949"},
{PG_JOHAB, "JOHAB"},
{PG_JOHAB, "CP1361"},