Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9dd4c1e

Browse files
committed
PGPRO-8877: Update create_foreignscan_path() and create_foreign_upper_path() calls.
Caused by: - 9e9931d2bf40e2fea447d779c2e133c2c1256ef3 (PostgreSQL) Re-allow FDWs and custom scan providers to replace joins with pseudoconstant quals. Tags: vops
1 parent db0b703 commit 9dd4c1e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

vops_fdw.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,8 @@ postgresGetForeignPaths(PlannerInfo *root,
442442
fpinfo->total_cost,
443443
NIL, /* no pathkeys */
444444
NULL, /* no outer rel either */
445-
NULL, /* no extra plan */
445+
NULL,
446+
NIL, /* no extra plan */
446447
NIL); /* no fdw_private list */
447448
add_path(baserel, (Path *) path);
448449
}
@@ -1412,6 +1413,7 @@ add_foreign_grouping_paths(PlannerInfo *root, RelOptInfo *input_rel,
14121413
total_cost,
14131414
NIL, /* no pathkeys */
14141415
NULL,
1416+
NIL,
14151417
NIL); /* no fdw_private */
14161418
#else
14171419
grouppath = create_foreignscan_path(root,
@@ -1423,6 +1425,7 @@ add_foreign_grouping_paths(PlannerInfo *root, RelOptInfo *input_rel,
14231425
NIL, /* no pathkeys */
14241426
grouped_rel->lateral_relids,
14251427
NULL,
1428+
NIL,
14261429
NIL); /* no fdw_private */
14271430
#endif
14281431

0 commit comments

Comments
 (0)