aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2014-08-06 11:18:38 -0400
committerRobert Haas <rhaas@postgresql.org>2014-08-07 09:51:32 -0400
commitdc431f41672611d5575e330209784adad73b4f0d (patch)
treec6d86e781b42552a4c5b1beaa99838f86e000e8d /src
parentcf6a9c3742a78414184a6e651e4cc7d239f8f2c4 (diff)
downloadpostgresql-dc431f41672611d5575e330209784adad73b4f0d.tar.gz
postgresql-dc431f41672611d5575e330209784adad73b4f0d.zip
Fix alternate regression test output file.
Commit 930e8ad738f5c78abd667626ca86f2553f36356f broke this. Jeff Janes
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/expected/json_1.out3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/regress/expected/json_1.out b/src/test/regress/expected/json_1.out
index 2f8e8b0a9cb..bfec32ffe7e 100644
--- a/src/test/regress/expected/json_1.out
+++ b/src/test/regress/expected/json_1.out
@@ -1146,7 +1146,8 @@ SELECT json_build_object(1,2);
-- keys must be scalar and not null
SELECT json_build_object(null,2);
-ERROR: arg 1: key cannot be null
+ERROR: argument 1 cannot be null
+HINT: Object keys should be text.
SELECT json_build_object(r,2) FROM (SELECT 1 AS a, 2 AS b) r;
ERROR: key value must be scalar, not array, composite, or json
SELECT json_build_object(json '{"a":1,"b":2}', 3);