pgsql: Fix assertion failure in CREATE DATABASE

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix assertion failure in CREATE DATABASE
Date: 2022-08-22 13:42:40
Message-ID: E1oQ7hP-000hff-H5@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix assertion failure in CREATE DATABASE

An assertion would fail when creating a database with libc locale
provider from a template database with icu locale provider.

Reported-by: Marina Polyakova <m(dot)polyakova(at)postgrespro(dot)ru>
Reviewed-by: Julien Rouhaud <rjuju123(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/f385ba25e7f8be427b8c582e5cca7d79%40postgrespro.ru#515a31c5429d6d37ad1d5c9d66962a1e

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/36f729e2bc3539e777cda698dc441b8ccec42142

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

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-08-22 14:35:27 Re: pgsql: Refer to replication origin roident as "ID" in user facing messa
Previous Message Daniel Gustafsson 2022-08-22 13:09:28 pgsql: doc: Minor wordsmithing to COPY docs