blob: a6a33b39aba37e396ef19a7b587b99182907fdf2 (
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') = 0
AS skip_test \gset
\if :skip_test
\quit
|