summaryrefslogtreecommitdiff
path: root/src/test/regress/expected/jsonb_jsonpath.out
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/regress/expected/jsonb_jsonpath.out')
-rw-r--r--src/test/regress/expected/jsonb_jsonpath.out12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/regress/expected/jsonb_jsonpath.out b/src/test/regress/expected/jsonb_jsonpath.out
index 90e705ff149..b5bcece94e3 100644
--- a/src/test/regress/expected/jsonb_jsonpath.out
+++ b/src/test/regress/expected/jsonb_jsonpath.out
@@ -1856,7 +1856,7 @@ select jsonb_path_query('123', '$.bigint() * 2');
-- Test .boolean()
select jsonb_path_query('null', '$.boolean()');
-ERROR: jsonpath item method .boolean() can only be applied to a bool, string, or numeric value
+ERROR: jsonpath item method .boolean() can only be applied to a boolean, string, or numeric value
select jsonb_path_query('null', '$.boolean()', silent => true);
jsonb_path_query
------------------
@@ -1868,9 +1868,9 @@ select jsonb_path_query('[]', '$.boolean()');
(0 rows)
select jsonb_path_query('[]', 'strict $.boolean()');
-ERROR: jsonpath item method .boolean() can only be applied to a bool, string, or numeric value
+ERROR: jsonpath item method .boolean() can only be applied to a boolean, string, or numeric value
select jsonb_path_query('{}', '$.boolean()');
-ERROR: jsonpath item method .boolean() can only be applied to a bool, string, or numeric value
+ERROR: jsonpath item method .boolean() can only be applied to a boolean, string, or numeric value
select jsonb_path_query('[]', 'strict $.boolean()', silent => true);
jsonb_path_query
------------------
@@ -2518,7 +2518,7 @@ select jsonb_path_query('12.3', '$.number() * 2');
-- Test .string()
select jsonb_path_query('null', '$.string()');
-ERROR: jsonpath item method .string() can only be applied to a bool, string, numeric, or datetime value
+ERROR: jsonpath item method .string() can only be applied to a boolean, string, numeric, or datetime value
select jsonb_path_query('null', '$.string()', silent => true);
jsonb_path_query
------------------
@@ -2530,9 +2530,9 @@ select jsonb_path_query('[]', '$.string()');
(0 rows)
select jsonb_path_query('[]', 'strict $.string()');
-ERROR: jsonpath item method .string() can only be applied to a bool, string, numeric, or datetime value
+ERROR: jsonpath item method .string() can only be applied to a boolean, string, numeric, or datetime value
select jsonb_path_query('{}', '$.string()');
-ERROR: jsonpath item method .string() can only be applied to a bool, string, numeric, or datetime value
+ERROR: jsonpath item method .string() can only be applied to a boolean, string, numeric, or datetime value
select jsonb_path_query('[]', 'strict $.string()', silent => true);
jsonb_path_query
------------------