git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 6d47021) | patch
Unicode case mapping tables and functions.
Thu, 7 Mar 2024 19:15:06 +0000 (11:15 -0800)
Thu, 7 Mar 2024 19:15:06 +0000 (11:15 -0800)
commit 5c40364dd6d9c6a260c8965dffe2e066642d6f79
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
src/common/Makefile diff | blob | blame | history
src/common/meson.build diff | blob | blame | history
src/common/unicode/Makefile diff | blob | blame | history
src/common/unicode/case_test.c [new file with mode: 0644] blob
src/common/unicode/generate-unicode_case_table.pl [new file with mode: 0644] blob
src/common/unicode/meson.build diff | blob | blame | history
src/common/unicode_case.c [new file with mode: 0644] blob
src/common/wchar.c diff | blob | blame | history
src/include/common/unicode_case.h [new file with mode: 0644] blob
src/include/common/unicode_case_table.h [new file with mode: 0644] blob
src/include/mb/pg_wchar.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /