Skip to content

Commit

Permalink
Fix non deterministic collation test to work with ancient libicu vers…
Browse files Browse the repository at this point in the history
…ions

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

@colStrength=secondary works with both older & newer versions of libicu
  • Loading branch information
serprex committed Aug 7, 2020
1 parent 320a840 commit 212ae71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/regress/expected/pg12.out
Expand Up @@ -389,7 +389,7 @@ SELECT DISTINCT y FROM test;
-- non deterministic collations
CREATE COLLATION test_pg12.case_insensitive (
provider = icu,
locale = 'und-u-ks-level2',
locale = '@colStrength=secondary',
deterministic = false
);
CREATE TABLE col_test (
Expand Down
2 changes: 1 addition & 1 deletion src/test/regress/sql/pg12.sql
Expand Up @@ -263,7 +263,7 @@ SELECT DISTINCT y FROM test;
-- non deterministic collations
CREATE COLLATION test_pg12.case_insensitive (
provider = icu,
locale = 'und-u-ks-level2',
locale = '@colStrength=secondary',
deterministic = false
);

Expand Down

0 comments on commit 212ae71

Please sign in to comment.