Commit 7400559a authored by Robert Haas's avatar Robert Haas

Comment update for fdw_recheck_quals.

Commit 5fc4c26d could've done a better
job updating these comments.

Etsuro Fujita
parent dff7ad3c
...@@ -1106,7 +1106,10 @@ set_foreignscan_references(PlannerInfo *root, ...@@ -1106,7 +1106,10 @@ set_foreignscan_references(PlannerInfo *root,
if (fscan->fdw_scan_tlist != NIL || fscan->scan.scanrelid == 0) if (fscan->fdw_scan_tlist != NIL || fscan->scan.scanrelid == 0)
{ {
/* Adjust tlist, qual, fdw_exprs to reference foreign scan tuple */ /*
* Adjust tlist, qual, fdw_exprs, fdw_recheck_quals to reference
* foreign scan tuple
*/
indexed_tlist *itlist = build_tlist_index(fscan->fdw_scan_tlist); indexed_tlist *itlist = build_tlist_index(fscan->fdw_scan_tlist);
fscan->scan.plan.targetlist = (List *) fscan->scan.plan.targetlist = (List *)
...@@ -1140,7 +1143,10 @@ set_foreignscan_references(PlannerInfo *root, ...@@ -1140,7 +1143,10 @@ set_foreignscan_references(PlannerInfo *root,
} }
else else
{ {
/* Adjust tlist, qual, fdw_exprs, etc. in the standard way */ /*
* Adjust tlist, qual, fdw_exprs, fdw_recheck_quals in the standard
* way
*/
fscan->scan.plan.targetlist = fscan->scan.plan.targetlist =
fix_scan_list(root, fscan->scan.plan.targetlist, rtoffset); fix_scan_list(root, fscan->scan.plan.targetlist, rtoffset);
fscan->scan.plan.qual = fscan->scan.plan.qual =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment