Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions jdbc_fdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
#include "commands/defrem.h"
#include "commands/explain.h"
#include "commands/vacuum.h"
#if (PG_VERSION_NUM >= 180000)
#include "commands/explain_state.h"
#include "commands/explain_format.h"
#endif
#include "foreign/fdwapi.h"
#include "funcapi.h"
#include "miscadmin.h"
Expand Down Expand Up @@ -787,6 +791,9 @@ jdbcGetForeignPaths(PlannerInfo *root,
NULL, /* default pathtarget */
#endif
fpinfo->rows,
#if PG_VERSION_NUM >= 180000
0,
#endif
fpinfo->startup_cost,
fpinfo->total_cost,
NIL, /* no pathkeys */
Expand Down Expand Up @@ -2395,6 +2402,9 @@ jdbc_add_foreign_grouping_paths(PlannerInfo *root, RelOptInfo *input_rel,
grouped_rel,
grouped_rel->reltarget,
rows,
#if PG_VERSION_NUM >= 180000
0,
#endif
startup_cost,
total_cost,
NIL, /* no pathkeys */
Expand All @@ -2408,6 +2418,9 @@ jdbc_add_foreign_grouping_paths(PlannerInfo *root, RelOptInfo *input_rel,
grouped_rel,
root->upper_targets[UPPERREL_GROUP_AGG],
rows,
#if PG_VERSION_NUM >= 180000
0,
#endif
startup_cost,
total_cost,
NIL, /* no pathkeys */
Expand Down Expand Up @@ -2540,6 +2553,9 @@ jdbc_add_foreign_final_paths(PlannerInfo *root, RelOptInfo *input_rel,
path->parent,
path->pathtarget,
path->rows,
#if PG_VERSION_NUM >= 180000
0,
#endif
path->startup_cost,
path->total_cost,
path->pathkeys,
Expand Down Expand Up @@ -2684,6 +2700,9 @@ jdbc_add_foreign_final_paths(PlannerInfo *root, RelOptInfo *input_rel,
input_rel,
root->upper_targets[UPPERREL_FINAL],
rows,
#if PG_VERSION_NUM >= 180000
0,
#endif
startup_cost,
total_cost,
pathkeys,
Expand Down