mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-13 19:57:53 +08:00
Add a couple of missing JsonbValue type initialisers.
This commit is contained in:
parent
37def42245
commit
28b29f7e44
@ -3718,6 +3718,7 @@ setPathObject(JsonbIterator **it, Datum *path_elems, bool *path_nulls,
|
||||
{
|
||||
JsonbValue new = k;
|
||||
|
||||
new.type = jbvString;
|
||||
new.val.string.len = VARSIZE_ANY_EXHDR(path_elems[level]);
|
||||
new.val.string.val = VARDATA_ANY(path_elems[level]);
|
||||
|
||||
@ -3759,6 +3760,7 @@ setPathObject(JsonbIterator **it, Datum *path_elems, bool *path_nulls,
|
||||
{
|
||||
JsonbValue new = k;
|
||||
|
||||
new.type = jbvString;
|
||||
new.val.string.len = VARSIZE_ANY_EXHDR(path_elems[level]);
|
||||
new.val.string.val = VARDATA_ANY(path_elems[level]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user