Formatting fixes

Noticed a lot of weird lines wrapped at 80; our standard is 90.
pull/2640/head
Jason Petersen 2019-03-22 20:18:00 -06:00
parent 6acf52660c
commit 6a0dc7756e
1 changed files with 6 additions and 10 deletions

View File

@ -534,8 +534,7 @@ PrunableExpressionsWalker(Node *node, ClauseWalkerContext *context)
if (!prune->addedToPruningInstances)
{
context->pruningInstances = lappend(context->pruningInstances,
prune);
context->pruningInstances = lappend(context->pruningInstances, prune);
prune->addedToPruningInstances = true;
}
@ -565,8 +564,8 @@ PrunableExpressionsWalker(Node *node, ClauseWalkerContext *context)
* Found a restriction on the partition column itself. Update the
* current constraint with the new information.
*/
AddPartitionKeyRestrictionToInstance(context,
opClause, varClause, constantClause);
AddPartitionKeyRestrictionToInstance(context, opClause, varClause,
constantClause);
}
else if (constantClause && varClause &&
varClause->varattno == RESERVED_HASHED_COLUMN_ID)
@ -597,8 +596,7 @@ PrunableExpressionsWalker(Node *node, ClauseWalkerContext *context)
*/
if (!prune->addedToPruningInstances)
{
context->pruningInstances = lappend(context->pruningInstances,
prune);
context->pruningInstances = lappend(context->pruningInstances, prune);
prune->addedToPruningInstances = true;
}
@ -740,8 +738,7 @@ AddPartitionKeyRestrictionToInstance(ClauseWalkerContext *context, OpExpr *opCla
/* at this point, we'd better be able to pass binary Datums to comparison functions */
Assert(IsBinaryCoercible(constantClause->consttype, partitionColumn->vartype));
btreeInterpretationList =
get_op_btree_interpretation(opClause->opno);
btreeInterpretationList = get_op_btree_interpretation(opClause->opno);
foreach(btreeInterpretationCell, btreeInterpretationList)
{
OpBtreeInterpretation *btreeInterpretation =
@ -846,8 +843,7 @@ AddPartitionKeyRestrictionToInstance(ClauseWalkerContext *context, OpExpr *opCla
if (!matchedOp)
{
prune->otherRestrictions =
lappend(prune->otherRestrictions, opClause);
prune->otherRestrictions = lappend(prune->otherRestrictions, opClause);
}
else
{