From 63008b19ee67270231694500832b031868d34428 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Tue, 9 Jan 2018 09:39:31 -0500 Subject: [PATCH] Fix comment. RELATION_IS_OTHER_TEMP is tested in the caller, not here. Discussion: http://postgr.es/m/5A5438E4.3090709@lab.ntt.co.jp --- src/backend/optimizer/prep/prepunion.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/backend/optimizer/prep/prepunion.c b/src/backend/optimizer/prep/prepunion.c index 5a08e75ad5c..95557d750b3 100644 --- a/src/backend/optimizer/prep/prepunion.c +++ b/src/backend/optimizer/prep/prepunion.c @@ -1634,11 +1634,8 @@ expand_partitioned_rtentry(PlannerInfo *root, RangeTblEntry *parentrte, /* * expand_single_inheritance_child - * Expand a single inheritance child, if needed. - * - * If this is a temp table of another backend, we'll return without doing - * anything at all. Otherwise, build a RangeTblEntry and an AppendRelInfo, if - * appropriate, plus maybe a PlanRowMark. + * Build a RangeTblEntry and an AppendRelInfo, if appropriate, plus + * maybe a PlanRowMark. * * We now expand the partition hierarchy level by level, creating a * corresponding hierarchy of AppendRelInfos and RelOptInfos, where each -- 2.39.5