Skip to content

Commit

Permalink
Merge branch 'PGPRO9_6' into rel_1_2_beta
Browse files Browse the repository at this point in the history
  • Loading branch information
zilder committed Dec 2, 2016
2 parents e48fc6c + 43e6683 commit d4f0dcc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pg_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,13 @@ void adjust_targetlist_compat(PlannerInfo *root, RelOptInfo *dest,
#define check_index_predicates_compat(rool, rel) \
check_index_predicates(root, rel)

#ifndef PGPRO_VERSION
#define create_append_path_compat(rel, subpaths, required_outer, parallel_workers) \
create_append_path(rel, subpaths, required_outer, parallel_workers)
#else
#define create_append_path_compat(rel, subpaths, required_outer, parallel_workers) \
create_append_path(rel, subpaths, required_outer, false, NIL, parallel_workers)
#endif

#define pull_var_clause_compat(node, aggbehavior, phbehavior) \
pull_var_clause(node, aggbehavior | phbehavior)
Expand Down

0 comments on commit d4f0dcc

Please sign in to comment.