diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-05-03 10:52:25 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-05-03 10:52:25 -0400 |
commit | 8826d850781cb328482c8f92af2a3d93385cd63b (patch) | |
tree | 4fe1529d761610370259c5c8e3eab74b869c956b /src/backend/executor/nodeAgg.c | |
parent | 1e77949e67b94af4d2a350c6dac9109419932608 (diff) | |
download | postgresql-8826d850781cb328482c8f92af2a3d93385cd63b.tar.gz |
Tweak a few more things in preparation for upcoming pgindent run.
These adjustments adjust code and comments in minor ways to prevent
pgindent from mangling them. Among other things, I tried to avoid
situations where pgindent would emit "a +b" instead of "a + b", and I
tried to avoid having it break up inline comments across multiple
lines.
Diffstat (limited to 'src/backend/executor/nodeAgg.c')
-rw-r--r-- | src/backend/executor/nodeAgg.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/executor/nodeAgg.c b/src/backend/executor/nodeAgg.c index 614b26b8e3..0c1e4a3cb6 100644 --- a/src/backend/executor/nodeAgg.c +++ b/src/backend/executor/nodeAgg.c @@ -3016,7 +3016,8 @@ build_pertrans_for_aggref(AggStatePerTrans pertrans, Expr *transfnexpr; /* - * Set up infrastructure for calling the transfn + * Set up infrastructure for calling the transfn. Note that invtrans + * is not needed here. */ build_aggregate_transfn_expr(inputTypes, numArguments, @@ -3025,7 +3026,7 @@ build_pertrans_for_aggref(AggStatePerTrans pertrans, aggtranstype, aggref->inputcollid, aggtransfn, - InvalidOid, /* invtrans is not needed here */ + InvalidOid, &transfnexpr, NULL); fmgr_info(aggtransfn, &pertrans->transfn); |