diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-17 15:24:04 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-17 15:24:04 +0000 |
commit | 26cbf791ecb27613fe7b31f57d9258d252bef394 (patch) | |
tree | 6e0a29f4b47fece4de499c6a25db63444c3ef5e3 /src | |
parent | 6efae5bf2a6bb0de31f53ecbe5dc52879fbc54c4 (diff) | |
download | postgresql-26cbf791ecb27613fe7b31f57d9258d252bef394.tar.gz postgresql-26cbf791ecb27613fe7b31f57d9258d252bef394.zip |
Add missing entry for PG_WIN1250 encoding, per gripe from Pavel Stehule.
Also enable translation of PG_WIN874, which certainly seems to have an
obvious translation now, though maybe it did not at the time this table's
ancestor was created.
Diffstat (limited to 'src')
-rw-r--r-- | src/port/chklocale.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/port/chklocale.c b/src/port/chklocale.c index 02251f7fb0e..e0803222bd1 100644 --- a/src/port/chklocale.c +++ b/src/port/chklocale.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/port/chklocale.c,v 1.5 2007/10/10 11:50:07 mha Exp $ + * $PostgreSQL: pgsql/src/port/chklocale.c,v 1.6 2007/10/17 15:24:04 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -123,6 +123,10 @@ static const struct encoding_match encoding_match_list[] = { {PG_KOI8R, "KOI8-R"}, {PG_KOI8R, "CP20866"}, + {PG_WIN866, "CP866"}, + {PG_WIN874, "CP874"}, + {PG_WIN1250, "CP1250"}, + {PG_WIN1251, "CP1251"}, {PG_WIN1252, "CP1252"}, {PG_WIN1253, "CP1253"}, {PG_WIN1254, "CP1254"}, @@ -130,11 +134,6 @@ static const struct encoding_match encoding_match_list[] = { {PG_WIN1256, "CP1256"}, {PG_WIN1257, "CP1257"}, {PG_WIN1258, "CP1258"}, -#ifdef NOT_VERIFIED - {PG_WIN874, "???"}, -#endif - {PG_WIN1251, "CP1251"}, - {PG_WIN866, "CP866"}, {PG_ISO_8859_5, "ISO-8859-5"}, {PG_ISO_8859_5, "ISO8859-5"}, |