pgsql: Move definition of standard collations from initdb to pg_collati

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Move definition of standard collations from initdb to pg_collati
Date: 2023-03-29 07:47:10
Message-ID: E1phQWS-000HhI-Vt@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Move definition of standard collations from initdb to pg_collation.dat

The standard collations "ucs_basic" and "unicode" were defined in
initdb, even though pg_collation.dat seems like the correct place for
them. It seems this was just forgotten during various reorganizations
of initdb and pg_collation.dat/.h over time.

Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://www.postgresql.org/message-id/flat/08b58ecd-0d50-9395-ed51-dc8294e3fd2b%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/563f21cda8fcb61a0b5f071affb79c86458e52f8

Modified Files
--------------
src/bin/initdb/initdb.c | 15 +--------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_collation.dat | 7 +++++++
3 files changed, 9 insertions(+), 15 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2023-03-29 07:49:54 pgsql: meson: Change default buildtype to debugoptimized
Previous Message Peter Eisentraut 2023-03-29 06:25:50 pgsql: Simplify useless 0L constants