Обсуждение: pgsql: Fix createdb tests for C locale

Поиск
Список
Период
Сортировка

pgsql: Fix createdb tests for C locale

От
Peter Eisentraut
Дата:
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(-)