mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Use JsonbIteratorToken consistently in automatic variable declarations.
Many functions stored JsonbIteratorToken values in variables of other integer types. Also, standardize order relative to other declarations. Expect compilers to generate the same code before and after this change.
This commit is contained in:
@ -187,7 +187,7 @@ compareJsonbContainers(JsonbContainer *a, JsonbContainer *b)
|
||||
{
|
||||
JsonbValue va,
|
||||
vb;
|
||||
int ra,
|
||||
JsonbIteratorToken ra,
|
||||
rb;
|
||||
|
||||
ra = JsonbIteratorNext(&ita, &va, false);
|
||||
@ -961,10 +961,10 @@ freeAndGetParent(JsonbIterator *it)
|
||||
bool
|
||||
JsonbDeepContains(JsonbIterator **val, JsonbIterator **mContained)
|
||||
{
|
||||
uint32 rval,
|
||||
rcont;
|
||||
JsonbValue vval,
|
||||
vcontained;
|
||||
JsonbIteratorToken rval,
|
||||
rcont;
|
||||
|
||||
/*
|
||||
* Guard against stack overflow due to overly complex Jsonb.
|
||||
|
Reference in New Issue
Block a user