pgsql: Unicode case mapping tables and functions.

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема pgsql: Unicode case mapping tables and functions.
Дата
Msg-id E1riJFq-002aP8-QF@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Unicode case mapping tables and functions.  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-committers
Unicode case mapping tables and functions.

Implements Unicode simple case mapping, in which all code points map
to exactly one other code point unconditionally.

These tables are generated from UnicodeData.txt, which is already
being used by other infrastructure in src/common/unicode. The tables
are checked into the source tree, so they only need to be regenerated
when we update the Unicode version.

In preparation for the builtin collation provider, and possibly useful
for other callers.

Discussion: https://postgr.es/m/ff4c2f2f9c8fc7ca27c1c24ae37ecaeaeaff6b53.camel%40j-davis.com
Reviewed-by: Peter Eisentraut, Daniel Verite, Jeremy Schneider

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5c40364dd6d9c6a260c8965dffe2e066642d6f79

Modified Files
--------------
src/common/Makefile                               |    1 +
src/common/meson.build                            |    1 +
src/common/unicode/Makefile                       |   15 +-
src/common/unicode/case_test.c                    |  100 +
src/common/unicode/generate-unicode_case_table.pl |  134 +
src/common/unicode/meson.build                    |   31 +
src/common/unicode_case.c                         |  174 ++
src/common/wchar.c                                |    4 +-
src/include/common/unicode_case.h                 |   27 +
src/include/common/unicode_case_table.h           | 3001 +++++++++++++++++++++
src/include/mb/pg_wchar.h                         |   15 +
11 files changed, 3498 insertions(+), 5 deletions(-)


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pgsql: Add template for adaptive radix tree
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Update comment of AlterTableCmd->name in parsenodes.h