Fix non deterministic collation test to work with ancient libicu versions

CentOS 7's libicu is too old for und-u-ks-level2

@colStrength=secondary works with both older & newer versions of libicu
pull/4097/head
Philip Dubé 2020-08-04 23:30:31 +00:00
parent 320a840b3f
commit 212ae7163f
2 changed files with 2 additions and 2 deletions

View File

@ -389,7 +389,7 @@ SELECT DISTINCT y FROM test;
-- non deterministic collations -- non deterministic collations
CREATE COLLATION test_pg12.case_insensitive ( CREATE COLLATION test_pg12.case_insensitive (
provider = icu, provider = icu,
locale = 'und-u-ks-level2', locale = '@colStrength=secondary',
deterministic = false deterministic = false
); );
CREATE TABLE col_test ( CREATE TABLE col_test (

View File

@ -263,7 +263,7 @@ SELECT DISTINCT y FROM test;
-- non deterministic collations -- non deterministic collations
CREATE COLLATION test_pg12.case_insensitive ( CREATE COLLATION test_pg12.case_insensitive (
provider = icu, provider = icu,
locale = 'und-u-ks-level2', locale = '@colStrength=secondary',
deterministic = false deterministic = false
); );