File tree Expand file tree Collapse file tree 4 files changed +31
-5
lines changed Expand file tree Collapse file tree 4 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 11/*
2- * This test is for Linux/glibc systems and others that implement proper
3- * locale classification of Unicode characters with high code values .
2+ * This test is for Linux/glibc systems (conceivably it could be run on
3+ * others that implement proper classification of high Unicode characters) .
44 * It must be run in a database with UTF8 encoding and a Unicode-aware locale.
55 */
6+ SELECT getdatabaseencoding() <> 'UTF8' OR
7+ current_setting('lc_ctype') = 'C' OR
8+ version() !~ 'linux-gnu'
9+ AS skip_test \gset
10+ \if :skip_test
11+ \quit
12+ \endif
613SET client_encoding TO UTF8;
714--
815-- Test the "high colormap" logic with single characters and ranges that
Original file line number Diff line number Diff line change 1+ /*
2+ * This test is for Linux/glibc systems (conceivably it could be run on
3+ * others that implement proper classification of high Unicode characters).
4+ * It must be run in a database with UTF8 encoding and a Unicode-aware locale.
5+ */
6+ SELECT getdatabaseencoding() <> 'UTF8' OR
7+ current_setting('lc_ctype') = 'C' OR
8+ version() !~ 'linux-gnu'
9+ AS skip_test \gset
10+ \if :skip_test
11+ \quit
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ test: create_table_like alter_generic alter_operator misc async dbsize misc_func
9494# rules cannot run concurrently with any test that creates
9595# a view or rule in the public schema
9696# collate.*.utf8 tests cannot be run in parallel with each other
97- test: rules psql psql_crosstab amutils stats_ext collate.linux.utf8
97+ test: rules psql psql_crosstab amutils stats_ext collate.linux.utf8 regex.linux.utf8
9898
9999# run by itself so it can run parallel workers
100100test: select_parallel
Original file line number Diff line number Diff line change 11/*
2- * This test is for Linux/glibc systems and others that implement proper
3- * locale classification of Unicode characters with high code values .
2+ * This test is for Linux/glibc systems (conceivably it could be run on
3+ * others that implement proper classification of high Unicode characters) .
44 * It must be run in a database with UTF8 encoding and a Unicode-aware locale.
55 */
66
7+ SELECT getdatabaseencoding() <> ' UTF8' OR
8+ current_setting(' lc_ctype' ) = ' C' OR
9+ version() !~ ' linux-gnu'
10+ AS skip_test \gset
11+ \if :skip_test
12+ \quit
13+ \endif
14+
715SET client_encoding TO UTF8;
816
917--
You can’t perform that action at this time.
0 commit comments