From 9dd4c1e8ac16d7dc2f829dfc7638987971dd4f64 Mon Sep 17 00:00:00 2001 From: "Anton A. Melnikov" Date: Mon, 20 Nov 2023 23:57:58 +0300 Subject: [PATCH] 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 --- vops_fdw.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vops_fdw.c b/vops_fdw.c index e84e790..3dd2613 100644 --- a/vops_fdw.c +++ b/vops_fdw.c @@ -442,7 +442,8 @@ postgresGetForeignPaths(PlannerInfo *root, fpinfo->total_cost, NIL, /* no pathkeys */ NULL, /* no outer rel either */ - NULL, /* no extra plan */ + NULL, + NIL, /* no extra plan */ NIL); /* no fdw_private list */ add_path(baserel, (Path *) path); } @@ -1412,6 +1413,7 @@ add_foreign_grouping_paths(PlannerInfo *root, RelOptInfo *input_rel, total_cost, NIL, /* no pathkeys */ NULL, + NIL, NIL); /* no fdw_private */ #else grouppath = create_foreignscan_path(root, @@ -1423,6 +1425,7 @@ add_foreign_grouping_paths(PlannerInfo *root, RelOptInfo *input_rel, NIL, /* no pathkeys */ grouped_rel->lateral_relids, NULL, + NIL, NIL); /* no fdw_private */ #endif