]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix createdb tests for C locale
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 16 Sep 2022 09:10:41 +0000 (11:10 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 16 Sep 2022 09:15:55 +0000 (11:15 +0200)
commit8135d0bd455217bd345090bae085b2bbcf62bdb0
treeafe3a429eaf031c361f6cfec1f9eb16e4eb9e329
parent148f66d59e2c2fa8bc79918973874e2803892664
Fix createdb tests for C locale

If the createdb tests run under the C locale, the database cluster
will be initialized with encoding SQL_ASCII.  With the checks added in
c7db01e325a530ec38ec7ba57cd3ed32e123e33c, this will cause several
ICU-related tests to fail because SQL_ASCII is not supported by ICU.
To work around that, use initdb option -E UTF8 for those tests to get
past that check.
src/bin/scripts/t/020_createdb.pl