pgsql: Add standard collation UNICODE - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Add standard collation UNICODE
Date
Msg-id [email protected]
Whole thread Raw
Responses Re: pgsql: Add standard collation UNICODE
List pgsql-committers
Add standard collation UNICODE

This adds a new predefined collation named UNICODE, which sorts by the
default Unicode collation algorithm specifications, per SQL standard.

This only works if ICU support is built.

Reviewed-by: Jeff Davis <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0d21d4b9bc1f9da9dda29e5c4db0c6dd45408aaa

Modified Files
--------------
doc/src/sgml/charset.sgml                      | 31 +++++++++++++++++++++++---
src/bin/initdb/initdb.c                        | 10 ++++++---
src/include/catalog/catversion.h               |  2 +-
src/test/regress/expected/collate.icu.utf8.out |  9 ++++++++
src/test/regress/sql/collate.icu.utf8.sql      |  1 +
5 files changed, 46 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Include headers of archive/ in installation
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Fix tests for non-ICU build