Fix incomplete set_foreignscan_references handling for fdw_recheck_quals
KaiGai Kohei
This commit is contained in:
parent
d3c8ac114f
commit
7907a949ab
@ -1129,6 +1129,12 @@ set_foreignscan_references(PlannerInfo *root,
|
|||||||
itlist,
|
itlist,
|
||||||
INDEX_VAR,
|
INDEX_VAR,
|
||||||
rtoffset);
|
rtoffset);
|
||||||
|
fscan->fdw_recheck_quals = (List *)
|
||||||
|
fix_upper_expr(root,
|
||||||
|
(Node *) fscan->fdw_recheck_quals,
|
||||||
|
itlist,
|
||||||
|
INDEX_VAR,
|
||||||
|
rtoffset);
|
||||||
pfree(itlist);
|
pfree(itlist);
|
||||||
/* fdw_scan_tlist itself just needs fix_scan_list() adjustments */
|
/* fdw_scan_tlist itself just needs fix_scan_list() adjustments */
|
||||||
fscan->fdw_scan_tlist =
|
fscan->fdw_scan_tlist =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user