diff options
Diffstat (limited to 'src/test/regress/sql/jsonpath_encoding.sql')
| -rw-r--r-- | src/test/regress/sql/jsonpath_encoding.sql | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/test/regress/sql/jsonpath_encoding.sql b/src/test/regress/sql/jsonpath_encoding.sql index 3a23b72818..55d9e30b95 100644 --- a/src/test/regress/sql/jsonpath_encoding.sql +++ b/src/test/regress/sql/jsonpath_encoding.sql @@ -1,5 +1,16 @@ - +-- -- encoding-sensitive tests for jsonpath +-- + +-- We provide expected-results files for UTF8 (jsonpath_encoding.out) +-- and for SQL_ASCII (jsonpath_encoding_1.out). Skip otherwise. +SELECT getdatabaseencoding() NOT IN ('UTF8', 'SQL_ASCII') + AS skip_test \gset +\if :skip_test +\quit +\endif + +SELECT getdatabaseencoding(); -- just to label the results files -- checks for double-quoted values |
