Fix comment.
authorRobert Haas <rhaas@postgresql.org>
Tue, 9 Jan 2018 14:39:31 +0000 (09:39 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 9 Jan 2018 14:40:31 +0000 (09:40 -0500)
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

index 5a08e75ad5ce3ae155a4d548c86de0ad06c2e8d6..95557d750b3941c9ea481c5a779cdab5e28d7374 100644 (file)
@@ -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