expression eval: Don't redundantly keep track of AggState.
Andres Freund <andres@anarazel.de>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/execExpr.c | modified | +0 −5 |
| src/backend/executor/execExprInterp.c | modified | +7 −10 |
| src/backend/jit/llvm/llvmjit_expr.c | modified | +12 −11 |
| src/include/executor/execExpr.h | modified | +0 −5 |
| src/include/nodes/execnodes.h | modified | +1 −0 |
Discussion
- WIP: expression evaluation improvements 25 messages · 2019-10-23 → 2021-11-05