pgsql: Fix createdb tests for C locale

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix createdb tests for C locale
Date: 2022-09-16 09:16:51
Message-ID: E1oZ7Ss-000aBz-US@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1e08576691bf1a25c0e28745e5e800c44f2a1c76

Modified Files
--------------
src/bin/scripts/t/020_createdb.pl | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-09-16 13:04:58 pgsql: Adjust assorted hint messages that list all valid options.
Previous Message Peter Eisentraut 2022-09-16 07:53:56 pgsql: Don't allow creation of database with ICU locale with unsupporte