pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Additional unicode primitive functions.
Date: Thu, 02 Nov 2023 05:49:01 +0000
Message-ID: <E1qyQZh-003Xcv-6A@gemulon.postgresql.org> (raw)

Additional unicode primitive functions.

Introduce unicode_version(), icu_unicode_version(), and
unicode_assigned().

The latter requires introducing a new lookup table for the Unicode
General Category, which is generated along with the other Unicode
lookup tables.

Discussion: https://postgr.es/m/CA+TgmoYzYR-yhU6k1XFCADeyj=Oyz2PkVsa3iKv+keM8wp-F_A@mail.gmail.com
Reviewed-by: Peter Eisentraut

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a02b37fc083239a07f1ac02951d208235efb218b

Modified Files
--------------
doc/src/sgml/func.sgml                             |  109 +-
src/backend/utils/adt/varlena.c                    |   61 +
src/common/Makefile                                |    1 +
src/common/meson.build                             |    1 +
src/common/unicode/Makefile                        |   19 +-
src/common/unicode/category_test.c                 |  108 +
.../unicode/generate-unicode_category_table.pl     |  204 +
src/common/unicode/generate-unicode_version.pl     |   46 +
src/common/unicode/meson.build                     |   40 +
src/common/unicode/norm_test.c                     |    2 +-
src/common/unicode_category.c                      |  195 +
src/include/catalog/pg_proc.dat                    |   12 +
src/include/common/unicode_category.h              |   68 +
src/include/common/unicode_category_table.h        | 4040 ++++++++++++++++++++
src/include/common/unicode_version.h               |   14 +
src/test/icu/t/010_database.pl                     |    4 +
src/test/regress/expected/unicode.out              |   18 +
src/test/regress/sql/unicode.sql                   |    4 +
18 files changed, 4924 insertions(+), 22 deletions(-)



Message-ID: <E1qyQZh-003Xcv-6A@gemulon.postgresql.org>
Permalink:  ../E1qyQZh-003Xcv-6A@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qyQZh-003Xcv-6A@gemulon.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: jdavis@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Additional unicode primitive functions.
  In-Reply-To: <E1qyQZh-003Xcv-6A@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