Skip to content

Commit ea1a497

Browse files
author
Nikita Glukhov
committed
Fix missed add_newval() usage
1 parent 871a978 commit ea1a497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/adt/jsonfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4026,7 +4026,7 @@ setPathArray(JsonbIterator **it, Datum *path_elems, bool *path_nulls,
40264026
(void) pushJsonbValue(st, r, &v);
40274027

40284028
if (op_type & JB_PATH_INSERT_AFTER)
4029-
addJsonbToParseState(st, newval);
4029+
add_newval(st, newval, unpacked);
40304030

40314031
done = true;
40324032
}

0 commit comments

Comments
 (0)