Content-Length: 264155 | pFad | http://github.com/postgrespro/postgres_cluster/commit/7907a949abf100b5a1e1def1184ba1e6fc8b9fd7

87 Fix incomplete set_foreignscan_references handling for fdw_recheck_quals · postgrespro/postgres_cluster@7907a94 · GitHub
Skip to content

Commit 7907a94

Browse files
committed
Fix incomplete set_foreignscan_references handling for fdw_recheck_quals
KaiGai Kohei
1 parent d3c8ac1 commit 7907a94

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/backend/optimizer/plan/setrefs.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,6 +1129,12 @@ set_foreignscan_references(PlannerInfo *root,
11291129
itlist,
11301130
INDEX_VAR,
11311131
rtoffset);
1132+
fscan->fdw_recheck_quals = (List *)
1133+
fix_upper_expr(root,
1134+
(Node *) fscan->fdw_recheck_quals,
1135+
itlist,
1136+
INDEX_VAR,
1137+
rtoffset);
11321138
pfree(itlist);
11331139
/* fdw_scan_tlist itself just needs fix_scan_list() adjustments */
11341140
fscan->fdw_scan_tlist =

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/7907a949abf100b5a1e1def1184ba1e6fc8b9fd7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy