We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6805e02 commit 873de34Copy full SHA for 873de34
src/test/regress/expected/json_1.out
@@ -1146,7 +1146,8 @@ SELECT json_build_object(1,2);
1146
1147
-- keys must be scalar and not null
1148
SELECT json_build_object(null,2);
1149
-ERROR: arg 1: key cannot be null
+ERROR: argument 1 cannot be null
1150
+HINT: Object keys should be text.
1151
SELECT json_build_object(r,2) FROM (SELECT 1 AS a, 2 AS b) r;
1152
ERROR: key value must be scalar, not array, composite, or json
1153
SELECT json_build_object(json '{"a":1,"b":2}', 3);
0 commit comments