mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
pgindent run for 9.6
This commit is contained in:
@@ -94,8 +94,8 @@ copyParamList(ParamListInfo from)
|
||||
Size
|
||||
EstimateParamListSpace(ParamListInfo paramLI)
|
||||
{
|
||||
int i;
|
||||
Size sz = sizeof(int);
|
||||
int i;
|
||||
Size sz = sizeof(int);
|
||||
|
||||
if (paramLI == NULL || paramLI->numParams <= 0)
|
||||
return sz;
|
||||
@@ -119,7 +119,7 @@ EstimateParamListSpace(ParamListInfo paramLI)
|
||||
typeOid = prm->ptype;
|
||||
}
|
||||
|
||||
sz = add_size(sz, sizeof(Oid)); /* space for type OID */
|
||||
sz = add_size(sz, sizeof(Oid)); /* space for type OID */
|
||||
sz = add_size(sz, sizeof(uint16)); /* space for pflags */
|
||||
|
||||
/* space for datum/isnull */
|
||||
@@ -132,7 +132,7 @@ EstimateParamListSpace(ParamListInfo paramLI)
|
||||
typByVal = true;
|
||||
}
|
||||
sz = add_size(sz,
|
||||
datumEstimateSpace(prm->value, prm->isnull, typByVal, typLen));
|
||||
datumEstimateSpace(prm->value, prm->isnull, typByVal, typLen));
|
||||
}
|
||||
|
||||
return sz;
|
||||
|
||||
Reference in New Issue
Block a user