Skip to content

Commit 6cca844

Browse files
committed
Fix build error on PG18
1 parent b5b5814 commit 6cca844

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/multicorn.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,9 @@ static void multicornGetForeignUpperPaths(PlannerInfo *root,
573573
input_rel,
574574
root->upper_targets[UPPERREL_FINAL],
575575
limitCount,
576+
#if PG_VERSION_NUM >= 180000 // # of disabled_nodes added in PG 18
577+
0,
578+
#endif
576579
planstate->startupCost,
577580
limitCount * planstate->width,
578581
NULL, /* pathkeys will be applied in the input_rel */

0 commit comments

Comments
 (0)