We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffa33e7 commit 184ccffCopy full SHA for 184ccff
src/relation_info.c
@@ -187,7 +187,9 @@ refresh_pathman_relation_info(Oid relid,
187
/* Extract Vars and varattnos of partitioning expression */
188
prel->expr_vars = NIL;
189
prel->expr_atts = NULL;
190
- prel->expr_vars = pull_var_clause(prel->expr, 0);
+ prel->expr_vars = pull_var_clause_compat(prel->expr,
191
+ PVC_REJECT_AGGREGATES,
192
+ PVC_REJECT_PLACEHOLDERS);
193
pull_varattnos((Node *) prel->expr_vars, PART_EXPR_VARNO, &prel->expr_atts);
194
195
MemoryContextSwitchTo(old_mcxt);
0 commit comments