pgsql: Remove code points < 0x80 from character conversion tables.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Remove code points < 0x80 from character conversion tables.
Дата
Msg-id E1cC4QA-0003GN-R9@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Remove code points < 0x80 from character conversion tables.

PostgreSQL treats characters with < 0x80 leading byte  as plain ASCII, and
they are not even passed to the conversion routines. There is no point in
having them in the conversion tables.

Everything in the tables were direct ASCII-ASCII mappings, except for two:
* SHIFT_JIS_2004 code point 0x5C (backslash in ASCII) was mapped to Unicode
  YEN SIGN character.
* Unicode 0x5C (backslash again) was mapped to "REVERSE SOLIDUS" in
  SHIFT_JIS_2004

These mappings never had any effect, so there's no functional change from
removing them.

Discussion: https://postgr.es/m/08e7892a-d55c-eefe-76e6-7910bc8dd1f3@iki.fi

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2c09c93ce1b80a417b7c372c43f5089c0d691749

Modified Files
--------------
.../utils/mb/Unicode/euc_jis_2004_to_utf8.map      | 128 ---------------------
.../utils/mb/Unicode/shift_jis_2004_to_utf8.map    | 128 ---------------------
.../utils/mb/Unicode/utf8_to_euc_jis_2004.map      | 128 ---------------------
.../utils/mb/Unicode/utf8_to_shift_jis_2004.map    | 128 ---------------------
4 files changed, 512 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Remove dead stuff from pgcrypto.
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Remove leading zeros, for consistency with other map files.