summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2015-05-12 16:54:38 -0400
committerAndrew Dunstan <andrew@dunslane.net>2015-05-12 16:54:38 -0400
commit5c7df74204e2fb9440b576518d40fcf3ac65c8ac (patch)
tree64e6dd1c51880aa7df9e786f4f309652d1d4fa18
parentc6947010ceb42143d9f047c65c1eac2b38928ab7 (diff)
downloadpostgresql-5c7df74204e2fb9440b576518d40fcf3ac65c8ac.tar.gz
Fix some errors from jsonb functions patch.
The catalog version should have been bumped, and the alternative regression result file was not up to date with the name of jsonb_pretty.
-rw-r--r--src/include/catalog/catversion.h2
-rw-r--r--src/test/regress/expected/jsonb_1.out12
2 files changed, 7 insertions, 7 deletions
diff --git a/src/include/catalog/catversion.h b/src/include/catalog/catversion.h
index 80176dd287..a350832423 100644
--- a/src/include/catalog/catversion.h
+++ b/src/include/catalog/catversion.h
@@ -53,6 +53,6 @@
*/
/* yyyymmddN */
-#define CATALOG_VERSION_NO 201505111
+#define CATALOG_VERSION_NO 201505121
#endif
diff --git a/src/test/regress/expected/jsonb_1.out b/src/test/regress/expected/jsonb_1.out
index 8c57594146..c8cb513391 100644
--- a/src/test/regress/expected/jsonb_1.out
+++ b/src/test/regress/expected/jsonb_1.out
@@ -2753,8 +2753,8 @@ select jsonb_strip_nulls('{"a": {"b": null, "c": null}, "d": {} }');
{"a": {}, "d": {}}
(1 row)
-select jsonb_indent('{"a": "test", "b": [1, 2, 3], "c": "test3", "d":{"dd": "test4", "dd2":{"ddd": "test5"}}}');
- jsonb_indent
+select jsonb_pretty('{"a": "test", "b": [1, 2, 3], "c": "test3", "d":{"dd": "test4", "dd2":{"ddd": "test5"}}}');
+ jsonb_pretty
----------------------------
{ +
"a": "test", +
@@ -2773,8 +2773,8 @@ select jsonb_indent('{"a": "test", "b": [1, 2, 3], "c": "test3", "d":{"dd": "tes
}
(1 row)
-select jsonb_indent('[{"f1":1,"f2":null},2,null,[[{"x":true},6,7],8],3]');
- jsonb_indent
+select jsonb_pretty('[{"f1":1,"f2":null},2,null,[[{"x":true},6,7],8],3]');
+ jsonb_pretty
---------------------------
[ +
{ +
@@ -2797,8 +2797,8 @@ select jsonb_indent('[{"f1":1,"f2":null},2,null,[[{"x":true},6,7],8],3]');
]
(1 row)
-select jsonb_indent('{"a":["b", "c"], "d": {"e":"f"}}');
- jsonb_indent
+select jsonb_pretty('{"a":["b", "c"], "d": {"e":"f"}}');
+ jsonb_pretty
------------------
{ +
"a": [ +