From 47fc6a7afe771030c5afc831c91a8574c7d1453e Mon Sep 17 00:00:00 2001 From: Onder Kalaci Date: Sat, 8 Apr 2017 10:09:24 +0300 Subject: [PATCH] Minor style commit --- src/backend/distributed/planner/multi_planner_utils.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/backend/distributed/planner/multi_planner_utils.c b/src/backend/distributed/planner/multi_planner_utils.c index b7afe2f33..268ef68b9 100644 --- a/src/backend/distributed/planner/multi_planner_utils.c +++ b/src/backend/distributed/planner/multi_planner_utils.c @@ -9,7 +9,6 @@ *------------------------------------------------------------------------- */ #include "postgres.h" -#include "c.h" #include "distributed/multi_planner_utils.h" #include "distributed/multi_planner.h" @@ -147,8 +146,8 @@ AllRelationsJoinedOnPartitionKey(PlannerRestrictionContext *plannerRestrictionCo * we should not check the partition column equality. * Consider two example cases: * (i) The query includes only a single colocated relation - * (ii) A colocated relation is joined with a reference - * table where colocated relation is not joined on the partition key + * (ii) A colocated relation is joined with a (or multiple) reference + * table(s) where colocated relation is not joined on the partition key * * For the above two cases, we should not execute the partition column equality * algorithm. @@ -338,7 +337,6 @@ AttributeEquivalenceClassForEquivalenceClass(EquivalenceClass *plannerEqClass, /* - * * GetVarFromAssignedParam returns the Var that is assigned to the given * plannerParam if its kind is PARAM_EXEC. *