Content-Length: 258870 | pFad | http://github.com/postgrespro/postgres/commit/0d3aaadd324e0566820c863d4617eb4fc949d220

E9 Specify database encoding in new ICU test. · postgrespro/postgres@0d3aaad · GitHub
Skip to content

Commit 0d3aaad

Browse files
committed
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.
1 parent 9eaef6f commit 0d3aaad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/icu/t/010_database.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
$node1->start;
1717

1818
$node1->safe_psql('postgres',
19-
q{CREATE DATABASE dbicu LOCALE_PROVIDER icu LOCALE 'C' ICU_LOCALE 'en-u-kf-upper' TEMPLATE template0});
19+
q{CREATE DATABASE dbicu LOCALE_PROVIDER icu LOCALE 'C' ICU_LOCALE 'en-u-kf-upper' ENCODING 'UTF8' TEMPLATE template0});
2020

2121
$node1->safe_psql('dbicu',
2222
q{

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/0d3aaadd324e0566820c863d4617eb4fc949d220

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy