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

Commite267b3f

Browse files
author
Nikita Glukhov
committed
Use JB_PATH_CREATE flag
1 parent8d115b5 commite267b3f

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
@@ -4234,7 +4234,7 @@ jsonb_set_element(Datum jsonbdatum, text **path, int path_len,
42344234
path_nulls[i]= false;
42354235

42364236
res=setPath(&it, (Datum*)path,path_nulls,path_len,&state,0,
4237-
(void*)newval, true,true);
4237+
(void*)newval, true,JB_PATH_CREATE);
42384238

42394239
PG_RETURN_JSONB(JsonbValueToJsonb(res));
42404240
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp