From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add support for other normal forms to Unicode normalization API
Date: Tue, 24 Mar 2020 09:18:50 +0000
Message-ID: <E1jGfhy-0005zW-3k@gemulon.postgresql.org> (raw)
Add support for other normal forms to Unicode normalization API
It previously only supported NFKC, for use by SASLprep. This expands
the API to offer the choice of all four normalization forms. Right
now, there are no internal users of the forms other than NFKC.
Reviewed-by: Daniel Verite <daniel@manitou-mail.org>
Reviewed-by: Andreas Karlsson <andreas@proxel.se>
Discussion: https://www.postgresql.org/message-id/flat/c1909f27-c269-2ed9-12f8-3ab72c8caf7a@2ndquadrant.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d40d564c5a920e1121b28463dfed74441cbae5c0
Modified Files
--------------
src/common/saslprep.c | 2 +-
src/common/unicode/generate-norm_test_table.pl | 9 +-
src/common/unicode/generate-unicode_norm_table.pl | 20 +-
src/common/unicode/norm_test.c | 23 +-
src/common/unicode_norm.c | 31 +-
src/include/common/unicode_norm.h | 10 +-
src/include/common/unicode_norm_table.h | 7334 +++++++++++----------
7 files changed, 3727 insertions(+), 3702 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: Add support for other normal forms to Unicode normalization API
In-Reply-To: <E1jGfhy-0005zW-3k@gemulon.postgresql.org>
References: <E1jGfhy-0005zW-3k@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox