pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Improve ICU option handling in CREATE DATABASE
2+ messages / 1 participants
[nested] [flat]

* pgsql: Improve ICU option handling in CREATE DATABASE
@ 2022-09-21 14:47 Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2022-09-21 14:47 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Improve ICU option handling in CREATE DATABASE
@ 2022-09-21 14:47 Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2022-09-21 14:47 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2022-09-21 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-09-21 14:47 pgsql: Improve ICU option handling in CREATE DATABASE Peter Eisentraut <peter@eisentraut.org>
2022-09-21 14:47 pgsql: Improve ICU option handling in CREATE DATABASE Peter Eisentraut <peter@eisentraut.org>

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