Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5c7df74

Browse files
committed
Fix some errors from jsonb functions patch.
The catalog version should have been bumped, and the alternativeregression result file was not up to date with the name of jsonb_pretty.
1 parentc694701 commit5c7df74

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

‎src/include/catalog/catversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
*/
5454

5555
/*yyyymmddN */
56-
#defineCATALOG_VERSION_NO201505111
56+
#defineCATALOG_VERSION_NO201505121
5757

5858
#endif

‎src/test/regress/expected/jsonb_1.out

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2753,8 +2753,8 @@ select jsonb_strip_nulls('{"a": {"b": null, "c": null}, "d": {} }');
27532753
{"a": {}, "d": {}}
27542754
(1 row)
27552755

2756-
selectjsonb_indent('{"a": "test", "b": [1, 2, 3], "c": "test3", "d":{"dd": "test4", "dd2":{"ddd": "test5"}}}');
2757-
jsonb_indent
2756+
selectjsonb_pretty('{"a": "test", "b": [1, 2, 3], "c": "test3", "d":{"dd": "test4", "dd2":{"ddd": "test5"}}}');
2757+
jsonb_pretty
27582758
----------------------------
27592759
{ +
27602760
"a": "test", +
@@ -2773,8 +2773,8 @@ select jsonb_indent('{"a": "test", "b": [1, 2, 3], "c": "test3", "d":{"dd": "tes
27732773
}
27742774
(1 row)
27752775

2776-
selectjsonb_indent('[{"f1":1,"f2":null},2,null,[[{"x":true},6,7],8],3]');
2777-
jsonb_indent
2776+
selectjsonb_pretty('[{"f1":1,"f2":null},2,null,[[{"x":true},6,7],8],3]');
2777+
jsonb_pretty
27782778
---------------------------
27792779
[ +
27802780
{ +
@@ -2797,8 +2797,8 @@ select jsonb_indent('[{"f1":1,"f2":null},2,null,[[{"x":true},6,7],8],3]');
27972797
]
27982798
(1 row)
27992799

2800-
selectjsonb_indent('{"a":["b", "c"], "d": {"e":"f"}}');
2801-
jsonb_indent
2800+
selectjsonb_pretty('{"a":["b", "c"], "d": {"e":"f"}}');
2801+
jsonb_pretty
28022802
------------------
28032803
{ +
28042804
"a": [ +

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp