pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve ICU option handling in CREATE DATABASE
Date: Wed, 21 Sep 2022 14:47:59 +0000
Message-ID: <E1ob115-001MD5-2B@gemulon.postgresql.org> (raw)

Improve ICU option handling in CREATE DATABASE

We check that the ICU locale is only specified if the ICU locale
provider is selected.  But we did that too early.  We need to wait
until we load the settings of the template database, since that could
also set what the locale provider is.

Reported-by: Marina Polyakova <m.polyakova@postgrespro.ru>
Discussion: https://www.postgresql.org/message-id/9ba4cd1ea6ed6b7b15c0ff15e6f540cd@postgrespro.ru

Branch
------
master

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

Modified Files
--------------
src/backend/commands/dbcommands.c | 11 +++++++----
src/bin/scripts/t/020_createdb.pl |  4 ++++
2 files changed, 11 insertions(+), 4 deletions(-)



view thread (2+ messages)

Message-ID: <E1ob115-001MD5-2B@gemulon.postgresql.org>
Permalink:  ../E1ob115-001MD5-2B@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ob115-001MD5-2B@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: peter@eisentraut.org
  Subject: Re: pgsql: Improve ICU option handling in CREATE DATABASE
  In-Reply-To: <E1ob115-001MD5-2B@gemulon.postgresql.org>
  References: <E1ob115-001MD5-2B@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