Use C11 char16_t and char32_t for Unicode code points.
authorJeff Davis <jdavis@postgresql.org>
Wed, 29 Oct 2025 21:17:13 +0000 (14:17 -0700)
committerJeff Davis <jdavis@postgresql.org>
Wed, 29 Oct 2025 21:17:13 +0000 (14:17 -0700)
commit3853a6956c3e3bc7a6fa9bcdb205a2997f46bac2
treed53058de062edbdbae7fadccf5f40b11147d2293
parent16edc1b94fc2db6e6a376471e280b50a418907c2
Use C11 char16_t and char32_t for Unicode code points.

Reviewed-by: Tatsuo Ishii <ishii@postgresql.org>
Reviewed-by: Thomas Munro <thomas.munro@gmail.com>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://postgr.es/m/bedcc93d06203dfd89815b10f815ca2de8626e85.camel%40j-davis.com
29 files changed:
configure
configure.ac
meson.build
src/backend/parser/parser.c
src/backend/parser/scan.l
src/backend/utils/adt/jsonpath_scan.l
src/backend/utils/adt/pg_locale_builtin.c
src/backend/utils/adt/varlena.c
src/backend/utils/mb/mbutils.c
src/common/saslprep.c
src/common/unicode/case_test.c
src/common/unicode/category_test.c
src/common/unicode/generate-norm_test_table.pl
src/common/unicode/generate-unicode_case_table.pl
src/common/unicode/generate-unicode_category_table.pl
src/common/unicode/norm_test.c
src/common/unicode_case.c
src/common/unicode_category.c
src/common/unicode_norm.c
src/fe_utils/mbprint.c
src/include/c.h
src/include/common/unicode_case.h
src/include/common/unicode_case_table.h
src/include/common/unicode_category.h
src/include/common/unicode_category_table.h
src/include/common/unicode_norm.h
src/include/mb/pg_wchar.h
src/include/pg_config.h.in
src/tools/pgindent/typedefs.list