Skip to content

Commit

Permalink
support for PostgreSQL 9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
cyga committed Sep 8, 2015
1 parent 112d206 commit 08475c3
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/www_fdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,11 +648,15 @@ www_get_foreign_plan(PlannerInfo *root,
scan_clauses = extract_actual_clauses(scan_clauses, false);

/* Create the ForeignScan node */
return make_foreignscan(tlist,
scan_clauses,
scan_relid,
NIL, /* no expressions to evaluate */
NIL); /* no private state either */
return make_foreignscan(tlist
,scan_clauses
,scan_relid
,NIL /* no expressions to evaluate */
,NIL /* no private state either */
#if (PG_VERSION_NUM >= 90500)
,NIL /* no scan_tlist either */
#endif
);
}

/*
Expand Down

0 comments on commit 08475c3

Please sign in to comment.