]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix assertion failure in CREATE DATABASE
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 22 Aug 2022 13:31:50 +0000 (15:31 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 22 Aug 2022 13:31:50 +0000 (15:31 +0200)
commita2caf182a2edcee7b1c00036b7dba6762941473c
tree4edca864eee7b36f7b1d5b28f92d15532367b269
parent3725b7f3c93eac3148fe36cffbb7db47d4a9fae0
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.polyakova@postgrespro.ru>
Reviewed-by: Julien Rouhaud <rjuju123@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/f385ba25e7f8be427b8c582e5cca7d79%40postgrespro.ru#515a31c5429d6d37ad1d5c9d66962a1e
src/backend/commands/dbcommands.c
src/bin/scripts/t/020_createdb.pl