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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy