pgsql: Use ICU by default at initdb time.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use ICU by default at initdb time.
Date: 2023-03-09 19:11:42
Message-ID: E1paLfy-002jGI-D8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Use ICU by default at initdb time.

If the ICU locale is not specified, initialize the default collator
and retrieve the locale name from that.

Discussion: https://postgr.es/m/510d284759f6e943ce15096167760b2edcb2e700.camel@j-davis.com
Reviewed-by: Peter Eisentraut

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/27b62377b47f9e7bf58613608bc718c86ea91e91

Modified Files
--------------
contrib/citext/expected/citext_utf8.out | 9 +++-
contrib/citext/expected/citext_utf8_1.out | 9 +++-
contrib/citext/sql/citext_utf8.sql | 9 +++-
contrib/unaccent/expected/unaccent.out | 9 ++++
contrib/unaccent/expected/unaccent_1.out | 8 ++++
contrib/unaccent/sql/unaccent.sql | 11 +++++
doc/src/sgml/ref/initdb.sgml | 53 +++++++++++++--------
src/bin/initdb/Makefile | 4 +-
src/bin/initdb/initdb.c | 54 +++++++++++++++++++++-
src/bin/initdb/t/001_initdb.pl | 7 +--
src/bin/pg_dump/t/002_pg_dump.pl | 2 +-
src/bin/scripts/t/020_createdb.pl | 2 +-
src/interfaces/ecpg/test/Makefile | 3 --
src/interfaces/ecpg/test/connect/test5.pgc | 2 +-
src/interfaces/ecpg/test/expected/connect-test5.c | 2 +-
.../ecpg/test/expected/connect-test5.stderr | 2 +-
src/interfaces/ecpg/test/meson.build | 1 -
src/test/icu/t/010_database.pl | 2 +-
18 files changed, 147 insertions(+), 42 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-03-09 21:49:09 pgsql: Reject combining "epoch" and "infinity" with other datetime fiel
Previous Message Alvaro Herrera 2023-03-09 18:48:03 pgsql: HTML docs: Add padding to table.simplelist for more readable out

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2023-03-09 19:14:25 Re: Move defaults toward ICU in 16?
Previous Message Tom Lane 2023-03-09 18:51:09 WaitEventSet resource leakage