mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
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.
This commit is contained in:
@ -53,6 +53,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* yyyymmddN */
|
/* yyyymmddN */
|
||||||
#define CATALOG_VERSION_NO 201505111
|
#define CATALOG_VERSION_NO 201505121
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -2753,8 +2753,8 @@ select jsonb_strip_nulls('{"a": {"b": null, "c": null}, "d": {} }');
|
|||||||
{"a": {}, "d": {}}
|
{"a": {}, "d": {}}
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
select jsonb_indent('{"a": "test", "b": [1, 2, 3], "c": "test3", "d":{"dd": "test4", "dd2":{"ddd": "test5"}}}');
|
select jsonb_pretty('{"a": "test", "b": [1, 2, 3], "c": "test3", "d":{"dd": "test4", "dd2":{"ddd": "test5"}}}');
|
||||||
jsonb_indent
|
jsonb_pretty
|
||||||
----------------------------
|
----------------------------
|
||||||
{ +
|
{ +
|
||||||
"a": "test", +
|
"a": "test", +
|
||||||
@ -2773,8 +2773,8 @@ select jsonb_indent('{"a": "test", "b": [1, 2, 3], "c": "test3", "d":{"dd": "tes
|
|||||||
}
|
}
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
select jsonb_indent('[{"f1":1,"f2":null},2,null,[[{"x":true},6,7],8],3]');
|
select jsonb_pretty('[{"f1":1,"f2":null},2,null,[[{"x":true},6,7],8],3]');
|
||||||
jsonb_indent
|
jsonb_pretty
|
||||||
---------------------------
|
---------------------------
|
||||||
[ +
|
[ +
|
||||||
{ +
|
{ +
|
||||||
@ -2797,8 +2797,8 @@ select jsonb_indent('[{"f1":1,"f2":null},2,null,[[{"x":true},6,7],8],3]');
|
|||||||
]
|
]
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
select jsonb_indent('{"a":["b", "c"], "d": {"e":"f"}}');
|
select jsonb_pretty('{"a":["b", "c"], "d": {"e":"f"}}');
|
||||||
jsonb_indent
|
jsonb_pretty
|
||||||
------------------
|
------------------
|
||||||
{ +
|
{ +
|
||||||
"a": [ +
|
"a": [ +
|
||||||
|
Reference in New Issue
Block a user