mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
Fix incomplete set_foreignscan_references handling for fdw_recheck_quals
KaiGai Kohei
This commit is contained in:
@ -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 =
|
||||||
|
Reference in New Issue
Block a user