diff options
Diffstat (limited to 'src/backend/catalog/heap.c')
-rw-r--r-- | src/backend/catalog/heap.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/backend/catalog/heap.c b/src/backend/catalog/heap.c index 6a4a9d9302b..e997b574ca9 100644 --- a/src/backend/catalog/heap.c +++ b/src/backend/catalog/heap.c @@ -2006,9 +2006,7 @@ StoreRelCheck(Relation rel, char *ccname, Node *expr, * in check constraints; it would fail to examine the contents of * subselects. */ - varList = pull_var_clause(expr, - PVC_REJECT_AGGREGATES, - PVC_REJECT_PLACEHOLDERS); + varList = pull_var_clause(expr, 0); keycount = list_length(varList); if (keycount > 0) @@ -2323,9 +2321,7 @@ AddRelationNewConstraints(Relation rel, List *vars; char *colname; - vars = pull_var_clause(expr, - PVC_REJECT_AGGREGATES, - PVC_REJECT_PLACEHOLDERS); + vars = pull_var_clause(expr, 0); /* eliminate duplicates */ vars = list_union(NIL, vars); |