expression eval: Don't redundantly keep track of AggState.
authorAndres Freund <andres@anarazel.de>
Fri, 7 Feb 2020 03:06:16 +0000 (19:06 -0800)
committerAndres Freund <andres@anarazel.de>
Fri, 7 Feb 2020 03:54:43 +0000 (19:54 -0800)
commit1fdb7f9789c4550204cd62d1746a7deed1dc4c29
tree877c68ff731bf42a811be492dca9c79db71494be
parent1ec7679f1b67e84be688a311dce234eeaa1d5de8
expression eval: Don't redundantly keep track of AggState.

It's already tracked via ExprState->parent, so we don't need to also
include it in ExprEvalStep. When that code originally was written
ExprState->parent didn't exist, but it since has been introduced in
6719b238e8f.

Author: Andres Freund
Discussion: https://postgr.es/m/20191023163849.sosqbfs5yenocez3@alap3.anarazel.de
src/backend/executor/execExpr.c
src/backend/executor/execExprInterp.c
src/backend/jit/llvm/llvmjit_expr.c
src/include/executor/execExpr.h
src/include/nodes/execnodes.h