1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-01 01:04:50 +03:00

Specify database encoding in new ICU test.

Otherwise, the database encoding varies depending on the user's
environment, and so the test might fail depending on whether ICU
likes the encoding.  In particular, the test fails completely
if the prevailing locale is C.
This commit is contained in:
Tom Lane 2022-03-18 13:26:04 -04:00
parent 9eaef6f8ea
commit 0d3aaadd32

View File

@ -16,7 +16,7 @@ $node1->init;
$node1->start; $node1->start;
$node1->safe_psql('postgres', $node1->safe_psql('postgres',
q{CREATE DATABASE dbicu LOCALE_PROVIDER icu LOCALE 'C' ICU_LOCALE 'en-u-kf-upper' TEMPLATE template0}); q{CREATE DATABASE dbicu LOCALE_PROVIDER icu LOCALE 'C' ICU_LOCALE 'en-u-kf-upper' ENCODING 'UTF8' TEMPLATE template0});
$node1->safe_psql('dbicu', $node1->safe_psql('dbicu',
q{ q{