aboutsummaryrefslogtreecommitdiff
path: root/src/backend/optimizer/plan/createplan.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-11-09 13:48:50 -0500
committerRobert Haas <rhaas@postgresql.org>2015-11-09 13:48:50 -0500
commit5c90a2ffddd2504a7441e80a22ba0fe8d484291a (patch)
treee8cc0f8a65ded5c5545401528040dba8dc7403a2 /src/backend/optimizer/plan/createplan.c
parentbf3d0156311f0d8fa7705d8de0d07c4e0298051a (diff)
downloadpostgresql-5c90a2ffddd2504a7441e80a22ba0fe8d484291a.tar.gz
postgresql-5c90a2ffddd2504a7441e80a22ba0fe8d484291a.zip
Comment update.
Adjust to account for 5fc4c26db5120bd90348b6ee3101fcddfdf54800. Etsuro Fujita
Diffstat (limited to 'src/backend/optimizer/plan/createplan.c')
-rw-r--r--src/backend/optimizer/plan/createplan.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/backend/optimizer/plan/createplan.c b/src/backend/optimizer/plan/createplan.c
index 791b64e7d05..e70a337328e 100644
--- a/src/backend/optimizer/plan/createplan.c
+++ b/src/backend/optimizer/plan/createplan.c
@@ -2141,11 +2141,12 @@ create_foreignscan_plan(PlannerInfo *root, ForeignPath *best_path,
scan_plan->fs_relids = best_path->path.parent->relids;
/*
- * Replace any outer-relation variables with nestloop params in the qual
- * and fdw_exprs expressions. We do this last so that the FDW doesn't
- * have to be involved. (Note that parts of fdw_exprs could have come
- * from join clauses, so doing this beforehand on the scan_clauses
- * wouldn't work.) We assume fdw_scan_tlist contains no such variables.
+ * Replace any outer-relation variables with nestloop params in the qual,
+ * fdw_exprs and fdw_recheck_quals expressions. We do this last so that
+ * the FDW doesn't have to be involved. (Note that parts of fdw_exprs
+ * or fdw_recheck_quals could have come from join clauses, so doing this
+ * beforehand on the scan_clauses wouldn't work.) We assume
+ * fdw_scan_tlist contains no such variables.
*/
if (best_path->path.param_info)
{