Indent fix

muusama/7969
Muhammad Usama 2025-12-01 19:24:13 +03:00
parent 467e74a727
commit ae27079a9f
1 changed files with 3 additions and 3 deletions

View File

@ -894,7 +894,7 @@ GenerateAttributeEquivalencesForRelationRestrictions(RelationRestrictionContext
hasVar = true; hasVar = true;
} }
else if (member->em_is_const && else if (member->em_is_const &&
!IsA(expr, Param) && !IsA(expr, Const)) !IsA(expr, Param) && !IsA(expr, Const))
{ {
/* /*
* Found a pseudoconstant expression (no Vars) that's not a * Found a pseudoconstant expression (no Vars) that's not a
@ -1158,7 +1158,7 @@ MergeEquivalenceClassesWithSameFunctions(RelationRestrictionContext *restriction
* This handles subqueries, UNION ALL, LATERAL joins, etc. * This handles subqueries, UNION ALL, LATERAL joins, etc.
*/ */
AddToAttributeEquivalenceClass(mergedClass, AddToAttributeEquivalenceClass(mergedClass,
relRestriction->plannerInfo, var); relRestriction->plannerInfo, var);
foundMatch = true; foundMatch = true;
break; break;
} }
@ -1172,7 +1172,7 @@ MergeEquivalenceClassesWithSameFunctions(RelationRestrictionContext *restriction
if (!foundMatch) if (!foundMatch)
{ {
elog(DEBUG2, "Skipping Var with varno=%d in RLS merge - " elog(DEBUG2, "Skipping Var with varno=%d in RLS merge - "
"no matching RelationRestriction found", var->varno); "no matching RelationRestriction found", var->varno);
} }
} }