pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add standard collation UNICODE
Date: Fri, 10 Mar 2023 12:42:35 +0000
Message-ID: <E1pac4x-002qVH-Ce@gemulon.postgresql.org> (raw)

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 <pgsql@j-davis.com>
Discussion: https://www.postgresql.org/message-id/flat/1293e382-2093-a2bf-a397-c04e8f83d3c2@enterprisedb.com

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(-)



view thread (16+ messages)  latest in thread

Message-ID: <E1pac4x-002qVH-Ce@gemulon.postgresql.org>
Permalink:  ../E1pac4x-002qVH-Ce@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pac4x-002qVH-Ce@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: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add standard collation UNICODE
  In-Reply-To: <E1pac4x-002qVH-Ce@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