pgsql: initdb: Set collversion for standard collation UNICODE

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: initdb: Set collversion for standard collation UNICODE
Date: 2023-05-12 08:03:50
Message-ID: E1pxNkk-001k3Y-D2@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

initdb: Set collversion for standard collation UNICODE

Since the behavior of the UNICODE collation can change with new
ICU/Unicode versions, we need to apply the versioning mechanism to it.
We do this with an UPDATE command in initdb; this is similar to how we
put the collation version into pg_database already.

Reported-by: Daniel Verite <daniel(at)manitou-mail(dot)org>
Discussion: https://www.postgresql.org/message-id/49417853-7bdd-4b23-a4e9-04c7aff33821@manitou-mail.org

Branch
------
master

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

Modified Files
--------------
src/bin/initdb/initdb.c | 7 +++++++
src/include/catalog/catversion.h | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-05-12 20:11:24 pgsql: Tighten usage of PSQL_WATCH_PAGER.
Previous Message Tom Lane 2023-05-11 17:45:16 pgsql: Undo faulty attempt at not relying on RINFO_IS_PUSHED_DOWN.