Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit679f940

Browse files
committed
Remove dead generators for cyrillic encoding conversion tables
These tools were used to read the koi-iso.tab, koi-win.tab, andkoi-alt.tab files, which contained the mappings between thesingle-byte cyrillic encodings. However, those data files were removedin commit4c3c8c0, back in 2003. These code generators have beenunused and unusable ever since.The generated tables live in cyrillic_and_mic.c. There has been onechange to the tables since they were generated in 1999, in commitf4b7624. So if we resurrected the original data tables, thatchange would need to be taken into account.So this code is very dead. The tables in cyrillic_and_mic.c, whichwere originally generated by these tools, are now the authoritativesource for these mappings.Reviewed-by: Tom Lane, Aleksander AlekseevDiscussion:https://www.postgresql.org/message-id/flat/a821c3dc-36ec-4cee-8b41-7ccaa17adb18@iki.fi
1 parent5c1ce1b commit679f940

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)

[8]ページ先頭

©2009-2025 Movatter.jp