Move definition of standard collations from initdb to pg_collation.dat
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 29 Mar 2023 07:45:21 +0000 (09:45 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 29 Mar 2023 07:45:21 +0000 (09:45 +0200)
commit563f21cda8fcb61a0b5f071affb79c86458e52f8
tree721d64866d1c828711481b8c381e7976192bc7d2
parent0d15afc875f44bcb0adc244c4d9034023f99b609
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@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/08b58ecd-0d50-9395-ed51-dc8294e3fd2b%40enterprisedb.com
src/bin/initdb/initdb.c
src/include/catalog/catversion.h
src/include/catalog/pg_collation.dat