Skip to content

Commit 5021e3d

Browse files
committed
Fix incomplete set_foreignscan_references handling for fdw_recheck_quals
KaiGai Kohei
1 parent af85779 commit 5021e3d

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
@@ -1120,6 +1120,12 @@ set_foreignscan_references(PlannerInfo *root,
11201120
itlist,
11211121
INDEX_VAR,
11221122
rtoffset);
1123+
fscan->fdw_recheck_quals = (List *)
1124+
fix_upper_expr(root,
1125+
(Node *) fscan->fdw_recheck_quals,
1126+
itlist,
1127+
INDEX_VAR,
1128+
rtoffset);
11231129
pfree(itlist);
11241130
/* fdw_scan_tlist itself just needs fix_scan_list() adjustments */
11251131
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