From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Improve ICU option handling in CREATE DATABASE |
Date: | 2022-09-21 14:47:59 |
Message-ID: | E1ob115-001MD6-2a@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(dot)polyakova(at)postgrespro(dot)ru>
Discussion: https://www.postgresql.org/message-id/9ba4cd1ea6ed6b7b15c0ff15e6f540cd@postgrespro.ru
Branch
------
REL_15_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/865b52af61049719e0a289419a0eceded6ea7bae
Modified Files
--------------
src/backend/commands/dbcommands.c | 11 +++++++----
src/bin/scripts/t/020_createdb.pl | 4 ++++
2 files changed, 11 insertions(+), 4 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-09-21 17:53:19 | pgsql: Suppress more variable-set-but-not-used warnings from clang 15. |
Previous Message | Peter Eisentraut | 2022-09-21 13:54:51 | pgsql: Tighten pg_get_object_address argument checking |