Skip to content

Commit d57b998

Browse files
committed
fix compilation on pg17
1 parent aebb975 commit d57b998

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/multicorn.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,9 @@ multicornGetForeignPaths(PlannerInfo *root,
368368
NIL, /* no pathkeys */
369369
NULL,
370370
NULL,
371+
#if PG_VERSION_NUM >= 170000
372+
NULL,
373+
#endif
371374
NULL));
372375

373376
/* Handle sort pushdown */
@@ -402,6 +405,9 @@ multicornGetForeignPaths(PlannerInfo *root,
402405
path->path.startup_cost, path->path.total_cost,
403406
apply_pathkeys, NULL,
404407
NULL,
408+
#if PG_VERSION_NUM >= 170000
409+
NULL,
410+
#endif
405411
(void *) deparsed_pathkeys);
406412

407413
newpath->path.param_info = path->path.param_info;

src/query.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,9 @@ findPaths(PlannerInfo *root, RelOptInfo *baserel, List *possiblePaths,
721721
NIL, /* no pathkeys */
722722
NULL,
723723
NULL,
724+
#if PG_VERSION_NUM >= 170000
725+
NULL,
726+
#endif
724727
NULL);
725728

726729
foreignPath->path.param_info = ppi;

0 commit comments

Comments
 (0)