diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-04-26 14:47:16 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-04-26 14:47:16 -0400 |
commit | bdf46af748d0f15f257c99bf06e9e25aba6a24f9 (patch) | |
tree | 3637d69ad413fdc23098cc2cf94b2cd57fd44dab /src/backend/optimizer/util/plancat.c | |
parent | f83bf385c1dad4964e0d899174989a1668536182 (diff) |
Post-feature-freeze pgindent run.
Discussion: https://postgr.es/m/15719.1523984266@sss.pgh.pa.us
Diffstat (limited to 'src/backend/optimizer/util/plancat.c')
-rw-r--r-- | src/backend/optimizer/util/plancat.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/optimizer/util/plancat.c b/src/backend/optimizer/util/plancat.c index 6973fe34586..8369e3ad62d 100644 --- a/src/backend/optimizer/util/plancat.c +++ b/src/backend/optimizer/util/plancat.c @@ -1421,6 +1421,7 @@ relation_excluded_by_constraints(PlannerInfo *root, switch (constraint_exclusion) { case CONSTRAINT_EXCLUSION_OFF: + /* * Don't prune if feature turned off -- except if the relation is * a partition. While partprune.c-style partition pruning is not @@ -1435,6 +1436,7 @@ relation_excluded_by_constraints(PlannerInfo *root, return false; case CONSTRAINT_EXCLUSION_PARTITION: + /* * When constraint_exclusion is set to 'partition' we only handle * OTHER_MEMBER_RELs, or BASERELs in cases where the result target @@ -1444,11 +1446,11 @@ relation_excluded_by_constraints(PlannerInfo *root, !(rel->reloptkind == RELOPT_BASEREL && root->inhTargetKind != INHKIND_NONE && rel->relid == root->parse->resultRelation)) - return false; + return false; break; case CONSTRAINT_EXCLUSION_ON: - break; /* always try to exclude */ + break; /* always try to exclude */ } /* |