Fix tests for non-ICU build
missed in 0d21d4b9bc
This commit is contained in:
parent
0d21d4b9bc
commit
3e623ebc7a
@ -3,7 +3,7 @@
|
|||||||
*/
|
*/
|
||||||
/* skip test if not UTF8 server encoding or no ICU collations installed */
|
/* skip test if not UTF8 server encoding or no ICU collations installed */
|
||||||
SELECT getdatabaseencoding() <> 'UTF8' OR
|
SELECT getdatabaseencoding() <> 'UTF8' OR
|
||||||
(SELECT count(*) FROM pg_collation WHERE collprovider = 'i') = 0
|
(SELECT count(*) FROM pg_collation WHERE collprovider = 'i' AND collname <> 'unicode') = 0
|
||||||
AS skip_test \gset
|
AS skip_test \gset
|
||||||
\if :skip_test
|
\if :skip_test
|
||||||
\quit
|
\quit
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
*/
|
*/
|
||||||
/* skip test if not UTF8 server encoding or no ICU collations installed */
|
/* skip test if not UTF8 server encoding or no ICU collations installed */
|
||||||
SELECT getdatabaseencoding() <> 'UTF8' OR
|
SELECT getdatabaseencoding() <> 'UTF8' OR
|
||||||
(SELECT count(*) FROM pg_collation WHERE collprovider = 'i') = 0
|
(SELECT count(*) FROM pg_collation WHERE collprovider = 'i' AND collname <> 'unicode') = 0
|
||||||
AS skip_test \gset
|
AS skip_test \gset
|
||||||
\if :skip_test
|
\if :skip_test
|
||||||
\quit
|
\quit
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
/* skip test if not UTF8 server encoding or no ICU collations installed */
|
/* skip test if not UTF8 server encoding or no ICU collations installed */
|
||||||
SELECT getdatabaseencoding() <> 'UTF8' OR
|
SELECT getdatabaseencoding() <> 'UTF8' OR
|
||||||
(SELECT count(*) FROM pg_collation WHERE collprovider = 'i') = 0
|
(SELECT count(*) FROM pg_collation WHERE collprovider = 'i' AND collname <> 'unicode') = 0
|
||||||
AS skip_test \gset
|
AS skip_test \gset
|
||||||
\if :skip_test
|
\if :skip_test
|
||||||
\quit
|
\quit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user