summaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_agg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/parser/parse_agg.c')
-rw-r--r--src/backend/parser/parse_agg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/parser/parse_agg.c b/src/backend/parser/parse_agg.c
index 4846b09b49..e8bb6bb041 100644
--- a/src/backend/parser/parse_agg.c
+++ b/src/backend/parser/parse_agg.c
@@ -204,7 +204,7 @@ transformAggregateCall(ParseState *pstate, Aggref *agg,
agg->aggfnoid);
aggform = (Form_pg_aggregate) GETSTRUCT(aggTuple);
agg->aggtrantype = aggform->aggtranstype;
- agg->has_collectfn = OidIsValid(aggform->aggcollectfn);
+ agg->agghas_collectfn = OidIsValid(aggform->aggcollectfn);
if (IS_PGXC_DATANODE)
agg->aggtype = agg->aggtrantype;