summaryrefslogtreecommitdiffstats
path: root/src/test/regress/expected/collate.linux.utf8_1.out
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/regress/expected/collate.linux.utf8_1.out')
-rw-r--r--src/test/regress/expected/collate.linux.utf8_1.out11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/regress/expected/collate.linux.utf8_1.out b/src/test/regress/expected/collate.linux.utf8_1.out
new file mode 100644
index 0000000..ede5fdb
--- /dev/null
+++ b/src/test/regress/expected/collate.linux.utf8_1.out
@@ -0,0 +1,11 @@
+/*
+ * This test is for Linux/glibc systems and assumes that a full set of
+ * locales is installed. It must be run in a database with UTF-8 encoding,
+ * because other encodings don't support all the characters used.
+ */
+SELECT getdatabaseencoding() <> 'UTF8' OR
+ (SELECT count(*) FROM pg_collation WHERE collname IN ('de_DE', 'en_US', 'sv_SE', 'tr_TR') AND collencoding = pg_char_to_encoding('UTF8')) <> 4 OR
+ version() !~ 'linux-gnu'
+ AS skip_test \gset
+\if :skip_test
+\quit