Skip to content

Commit 679f940

Browse files
committed
Remove dead generators for cyrillic encoding conversion tables
These tools were used to read the koi-iso.tab, koi-win.tab, and koi-alt.tab files, which contained the mappings between the single-byte cyrillic encodings. However, those data files were removed in commit 4c3c8c0, back in 2003. These code generators have been unused and unusable ever since. The generated tables live in cyrillic_and_mic.c. There has been one change to the tables since they were generated in 1999, in commit f4b7624. So if we resurrected the original data tables, that change would need to be taken into account. So this code is very dead. The tables in cyrillic_and_mic.c, which were originally generated by these tools, are now the authoritative source for these mappings. Reviewed-by: Tom Lane, Aleksander Alekseev Discussion: https://www.postgresql.org/message-id/flat/a821c3dc-36ec-4cee-8b41-7ccaa17adb18@iki.fi
1 parent 5c1ce1b commit 679f940

File tree

4 files changed

+0
-225
lines changed

4 files changed

+0
-225
lines changed

src/backend/utils/mb/README

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ mbutils.c: public functions for the backend only.
88
stringinfo_mb.c: public backend-only multibyte-aware stringinfo functions
99
wstrcmp.c: strcmp for mb
1010
wstrncmp.c: strncmp for mb
11-
win866.c: a tool to generate KOI8 <--> CP866 conversion table
12-
iso.c: a tool to generate KOI8 <--> ISO8859-5 conversion table
13-
win1251.c: a tool to generate KOI8 <--> CP1251 conversion table
1411

1512
See also in src/common/:
1613

src/backend/utils/mb/iso.c

Lines changed: 0 additions & 74 deletions
This file was deleted.

src/backend/utils/mb/win1251.c

Lines changed: 0 additions & 74 deletions
This file was deleted.

src/backend/utils/mb/win866.c

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)