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

Commit28b29f7

Browse files
committed
Add a couple of missing JsonbValue type initialisers.
1 parent37def42 commit28b29f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/backend/utils/adt/jsonfuncs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3718,6 +3718,7 @@ setPathObject(JsonbIterator **it, Datum *path_elems, bool *path_nulls,
37183718
{
37193719
JsonbValuenew=k;
37203720

3721+
new.type=jbvString;
37213722
new.val.string.len=VARSIZE_ANY_EXHDR(path_elems[level]);
37223723
new.val.string.val=VARDATA_ANY(path_elems[level]);
37233724

@@ -3759,6 +3760,7 @@ setPathObject(JsonbIterator **it, Datum *path_elems, bool *path_nulls,
37593760
{
37603761
JsonbValuenew=k;
37613762

3763+
new.type=jbvString;
37623764
new.val.string.len=VARSIZE_ANY_EXHDR(path_elems[level]);
37633765
new.val.string.val=VARDATA_ANY(path_elems[level]);
37643766

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp