From 345f2dcf5f50349f9a7889ba9d13e1e474158174 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Thu, 27 Jun 2024 11:57:46 -0700 Subject: [PATCH] Support new API changes for FDW in pgsql 17 --- ogr_fdw.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ogr_fdw.c b/ogr_fdw.c index 2ac5806..4cca6dc 100644 --- a/ogr_fdw.c +++ b/ogr_fdw.c @@ -952,8 +952,11 @@ ogrGetForeignPaths(PlannerInfo* root, planstate->startup_cost, planstate->total_cost, NIL, /* no pathkeys */ - NULL, /* no outer rel either */ + NULL, /* no lateral_relids */ NULL /* no extra plan */ +#if PG_VERSION_NUM >= 170000 + , NIL /* no fdw_restrictinfo list */ +#endif #if PG_VERSION_NUM >= 90500 , NIL /* no fdw_private list */ #endif