Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3ec09c7

Browse files
committed
Fix pull_var_clause call for 9.5 and 9.6
1 parent 184ccff commit 3ec09c7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/relation_info.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,7 @@ refresh_pathman_relation_info(Oid relid,
187187
/* Extract Vars and varattnos of partitioning expression */
188188
prel->expr_vars = NIL;
189189
prel->expr_atts = NULL;
190-
prel->expr_vars = pull_var_clause_compat(prel->expr,
191-
PVC_REJECT_AGGREGATES,
192-
PVC_REJECT_PLACEHOLDERS);
190+
prel->expr_vars = pull_var_clause_compat(prel->expr, 0, 0);
193191
pull_varattnos((Node *) prel->expr_vars, PART_EXPR_VARNO, &prel->expr_atts);
194192

195193
MemoryContextSwitchTo(old_mcxt);

0 commit comments

Comments
 (0)