diff options
author | Robert Haas <rhaas@postgresql.org> | 2018-01-09 09:39:31 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2018-01-09 09:40:31 -0500 |
commit | 63008b19ee67270231694500832b031868d34428 (patch) | |
tree | 5b7159304b710f452531f55baafe0fa57e18e63f /src | |
parent | d25ee30031b08ad1348a090914c2af6bc640a832 (diff) | |
download | postgresql-63008b19ee67270231694500832b031868d34428.tar.gz postgresql-63008b19ee67270231694500832b031868d34428.zip |
Fix comment.
RELATION_IS_OTHER_TEMP is tested in the caller, not here.
Discussion: http://postgr.es/m/5A5438E4.3090709@lab.ntt.co.jp
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/optimizer/prep/prepunion.c | 7 |
1 files 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 |