blob: 25c99c4abf022866188ee8914bd4a4f224b0f60b (
plain)
1
2
3
4
5
6
7
8
9
|
/*
* This test is for ICU collations.
*/
/* skip test if not UTF8 server encoding or no ICU collations installed */
SELECT getdatabaseencoding() <> 'UTF8' OR
(SELECT count(*) FROM pg_collation WHERE collprovider = 'i' AND collname <> 'unicode') = 0
AS skip_test \gset
\if :skip_test
\quit
|