diff options
author | Andres Freund <andres@anarazel.de> | 2020-02-06 19:06:16 -0800 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2020-02-06 19:54:43 -0800 |
commit | 1fdb7f9789c4550204cd62d1746a7deed1dc4c29 (patch) | |
tree | 877c68ff731bf42a811be492dca9c79db71494be /src/include/nodes/execnodes.h | |
parent | 1ec7679f1b67e84be688a311dce234eeaa1d5de8 (diff) | |
download | postgresql-1fdb7f9789c4550204cd62d1746a7deed1dc4c29.tar.gz postgresql-1fdb7f9789c4550204cd62d1746a7deed1dc4c29.zip |
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
Diffstat (limited to 'src/include/nodes/execnodes.h')
-rw-r--r-- | src/include/nodes/execnodes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h index 1f6f5bbc207..5d5b38b8799 100644 --- a/src/include/nodes/execnodes.h +++ b/src/include/nodes/execnodes.h @@ -104,6 +104,7 @@ typedef struct ExprState int steps_len; /* number of steps currently */ int steps_alloc; /* allocated length of steps array */ +#define FIELDNO_EXPRSTATE_PARENT 11 struct PlanState *parent; /* parent PlanState node, if any */ ParamListInfo ext_params; /* for compiling PARAM_EXTERN nodes */ |