|
|
@ -1099,7 +1099,7 @@ set_foreignscan_references(PlannerInfo *root, |
|
|
|
|
|
|
|
|
|
|
|
if (fscan->fdw_scan_tlist != NIL || fscan->scan.scanrelid == 0) |
|
|
|
if (fscan->fdw_scan_tlist != NIL || fscan->scan.scanrelid == 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
/* Adjust tlist, qual, fdw_exprs to reference custom scan tuple */ |
|
|
|
/* Adjust tlist, qual, fdw_exprs to reference foreign scan tuple */ |
|
|
|
indexed_tlist *itlist = build_tlist_index(fscan->fdw_scan_tlist); |
|
|
|
indexed_tlist *itlist = build_tlist_index(fscan->fdw_scan_tlist); |
|
|
|
|
|
|
|
|
|
|
|
fscan->scan.plan.targetlist = (List *) |
|
|
|
fscan->scan.plan.targetlist = (List *) |
|
|
|