pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use ICU by default at initdb time.
Date: Thu, 09 Mar 2023 19:11:42 +0000
Message-ID: <E1paLfy-002jGI-D8@gemulon.postgresql.org> (raw)

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(-)



view thread (7+ messages)  latest in thread

Message-ID: <E1paLfy-002jGI-D8@gemulon.postgresql.org>
Permalink:  ../E1paLfy-002jGI-D8@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1paLfy-002jGI-D8@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: jdavis@postgresql.org
  Subject: Re: pgsql: Use ICU by default at initdb time.
  In-Reply-To: <E1paLfy-002jGI-D8@gemulon.postgresql.org>
  References: <E1paLfy-002jGI-D8@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox