diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-03-18 13:26:04 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-03-18 13:26:04 -0400 |
commit | 0d3aaadd324e0566820c863d4617eb4fc949d220 (patch) | |
tree | 0220ded1afb48e7a9618bfeb748320353c987e30 /src | |
parent | 9eaef6f8ea951320eae0c0083b07d901fe9bd3e5 (diff) | |
download | postgresql-0d3aaadd324e0566820c863d4617eb4fc949d220.tar.gz postgresql-0d3aaadd324e0566820c863d4617eb4fc949d220.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/test/icu/t/010_database.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/icu/t/010_database.pl b/src/test/icu/t/010_database.pl index 4cc8907b421..d50941b53d2 100644 --- a/src/test/icu/t/010_database.pl +++ b/src/test/icu/t/010_database.pl @@ -16,7 +16,7 @@ $node1->init; $node1->start; $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', q{ |