Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 26cbf79

Browse files
committed
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.
1 parent 6efae5b commit 26cbf79

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/port/chklocale.c

+5-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/port/chklocale.c,v 1.5 2007/10/10 11:50:07 mha Exp $
11+
* $PostgreSQL: pgsql/src/port/chklocale.c,v 1.6 2007/10/17 15:24:04 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -123,18 +123,17 @@ static const struct encoding_match encoding_match_list[] = {
123123
{PG_KOI8R, "KOI8-R"},
124124
{PG_KOI8R, "CP20866"},
125125

126+
{PG_WIN866, "CP866"},
127+
{PG_WIN874, "CP874"},
128+
{PG_WIN1250, "CP1250"},
129+
{PG_WIN1251, "CP1251"},
126130
{PG_WIN1252, "CP1252"},
127131
{PG_WIN1253, "CP1253"},
128132
{PG_WIN1254, "CP1254"},
129133
{PG_WIN1255, "CP1255"},
130134
{PG_WIN1256, "CP1256"},
131135
{PG_WIN1257, "CP1257"},
132136
{PG_WIN1258, "CP1258"},
133-
#ifdef NOT_VERIFIED
134-
{PG_WIN874, "???"},
135-
#endif
136-
{PG_WIN1251, "CP1251"},
137-
{PG_WIN866, "CP866"},
138137

139138
{PG_ISO_8859_5, "ISO-8859-5"},
140139
{PG_ISO_8859_5, "ISO8859-5"},

0 commit comments

Comments
 (0)