diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 13:44:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 13:44:03 +0000 |
commit | 293913568e6a7a86fd1479e1cff8e2ecb58d6568 (patch) | |
tree | fc3b469a3ec5ab71b36ea97cc7aaddb838423a0c /contrib/citext/expected/citext_utf8_1.out | |
parent | Initial commit. (diff) | |
download | postgresql-16-293913568e6a7a86fd1479e1cff8e2ecb58d6568.tar.xz postgresql-16-293913568e6a7a86fd1479e1cff8e2ecb58d6568.zip |
Adding upstream version 16.2.upstream/16.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'contrib/citext/expected/citext_utf8_1.out')
-rw-r--r-- | contrib/citext/expected/citext_utf8_1.out | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/citext/expected/citext_utf8_1.out b/contrib/citext/expected/citext_utf8_1.out new file mode 100644 index 0000000..3caa7a0 --- /dev/null +++ b/contrib/citext/expected/citext_utf8_1.out @@ -0,0 +1,16 @@ +/* + * This test must be run in a database with UTF-8 encoding + * and a Unicode-aware locale. + * + * Also disable this file for ICU, because the test for the the + * Turkish dotted I is not correct for many ICU locales. citext always + * uses the default collation, so it's not easy to restrict the test + * to the "tr-TR-x-icu" collation where it will succeed. + */ +SELECT getdatabaseencoding() <> 'UTF8' OR + (SELECT (datlocprovider = 'c' AND datctype = 'C') OR datlocprovider = 'i' + FROM pg_database + WHERE datname=current_database()) + AS skip_test \gset +\if :skip_test +\quit |