pgsql: Catalog changes preparing for builtin collation provider.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Catalog changes preparing for builtin collation provider.
Date: 2024-03-09 22:50:15
Message-ID: E1rj5WA-002z5V-WA@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Catalog changes preparing for builtin collation provider.

Rename pg_collation.colliculocale to colllocale, and
pg_database.daticulocale to datlocale. These names reflects that the
fields will be useful for the upcoming builtin provider as well, not
just for ICU.

This is purely a rename; no changes to the meaning of the fields.

Discussion: https://postgr.es/m/ff4c2f2f9c8fc7ca27c1c24ae37ecaeaeaff6b53.camel%40j-davis.com
Reviewed-by: Peter Eisentraut

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/bki.sgml | 2 +-
doc/src/sgml/catalogs.sgml | 26 +++++++---
src/backend/catalog/pg_collation.c | 10 ++--
src/backend/commands/collationcmds.c | 34 ++++++-------
src/backend/commands/dbcommands.c | 68 +++++++++++++-------------
src/backend/utils/adt/pg_locale.c | 4 +-
src/backend/utils/init/postinit.c | 12 ++---
src/bin/initdb/initdb.c | 34 ++++++-------
src/bin/pg_dump/pg_dump.c | 56 +++++++++++----------
src/bin/pg_upgrade/info.c | 31 +++++++-----
src/bin/pg_upgrade/pg_upgrade.c | 34 +++++++++----
src/bin/pg_upgrade/pg_upgrade.h | 2 +-
src/bin/pg_upgrade/t/002_pg_upgrade.pl | 29 +++++++----
src/bin/psql/describe.c | 20 +++++---
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_collation.dat | 2 +-
src/include/catalog/pg_collation.h | 4 +-
src/include/catalog/pg_database.dat | 2 +-
src/include/catalog/pg_database.h | 2 +-
src/test/regress/expected/collate.icu.utf8.out | 4 +-
src/test/regress/expected/psql.out | 18 +++----
src/test/regress/sql/collate.icu.utf8.sql | 4 +-
22 files changed, 231 insertions(+), 169 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2024-03-10 03:53:41 Re: pgsql: Catalog changes preparing for builtin collation provider.
Previous Message Joe Conway 2024-03-09 22:34:02 pgsql: Make contrib/tablefunc crosstab() also check typmod