Commit 7780c412 authored by Itagaki Takahiro's avatar Itagaki Takahiro

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.
parent 2871b461
......@@ -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"},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment