File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
*/
4
4
/* skip test if not UTF8 server encoding or no ICU collations installed */
5
5
SELECT getdatabaseencoding() <> 'UTF8' OR
6
- (SELECT count(*) FROM pg_collation WHERE collprovider = 'i') = 0
6
+ (SELECT count(*) FROM pg_collation WHERE collprovider = 'i' AND collname <> 'unicode' ) = 0
7
7
AS skip_test \gset
8
8
\if :skip_test
9
9
\quit
Original file line number Diff line number Diff line change 3
3
*/
4
4
/* skip test if not UTF8 server encoding or no ICU collations installed */
5
5
SELECT getdatabaseencoding() <> 'UTF8' OR
6
- (SELECT count(*) FROM pg_collation WHERE collprovider = 'i') = 0
6
+ (SELECT count(*) FROM pg_collation WHERE collprovider = 'i' AND collname <> 'unicode' ) = 0
7
7
AS skip_test \gset
8
8
\if :skip_test
9
9
\quit
Original file line number Diff line number Diff line change 4
4
5
5
/* skip test if not UTF8 server encoding or no ICU collations installed */
6
6
SELECT getdatabaseencoding() <> ' UTF8' OR
7
- (SELECT count (* ) FROM pg_collation WHERE collprovider = ' i' ) = 0
7
+ (SELECT count (* ) FROM pg_collation WHERE collprovider = ' i' AND collname <> ' unicode ' ) = 0
8
8
AS skip_test \gset
9
9
\if :skip_test
10
10
\quit
You can’t perform that action at this time.
0 commit comments