diff options
Diffstat (limited to 'src/backend/utils/adt/selfuncs.c')
-rw-r--r-- | src/backend/utils/adt/selfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/adt/selfuncs.c b/src/backend/utils/adt/selfuncs.c index 46c95b089e..6e75a39bf3 100644 --- a/src/backend/utils/adt/selfuncs.c +++ b/src/backend/utils/adt/selfuncs.c @@ -3328,7 +3328,7 @@ estimate_num_groups(PlannerInfo *root, List *groupExprs, double input_rows, * down to ignoring the possible addition of nulls to the result set). */ varshere = pull_var_clause(groupexpr, - PVC_RECURSE_AGGREGATES, + PVC_RECURSE_AGGREGATES | PVC_RECURSE_PLACEHOLDERS); /* |