pgsql: Fix createdb tests for C locale - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Fix createdb tests for C locale
Date
Msg-id E1oZ7Ss-000aC0-Uy@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Fix createdb tests for C locale  (Christoph Berg <myon@debian.org>)
List 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
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8135d0bd455217bd345090bae085b2bbcf62bdb0

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


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Don't allow creation of database with ICU locale with unsupporte
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Adjust assorted hint messages that list all valid options.