Skip to content

Commit

Permalink
Add PostgreSQL 9.6 support
Browse files Browse the repository at this point in the history
Set default path target in function create_foreignscan_path.
  • Loading branch information
kostiantyn-nemchenko authored Jul 11, 2017
1 parent 2360604 commit b393b92
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion jdbc_fdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,12 @@ jdbcGetForeignPaths(PlannerInfo *root, RelOptInfo *baserel, Oid foreigntableid)
SIGINTInterruptCheckProcess();

/* Create a ForeignPath node and add it as only possible path */
add_path(baserel, (Path*)create_foreignscan_path(root, baserel, baserel->rows, startup_cost, total_cost, NIL, NULL, NULL
add_path(baserel, (Path*)create_foreignscan_path(root, baserel,
#if PG_VERSION_NUM >= 90600
NULL
,
#endif
baserel->rows, startup_cost, total_cost, NIL, NULL, NULL
#if PG_VERSION_NUM >= 90500
,
NIL
Expand Down

0 comments on commit b393b92

Please sign in to comment.