diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2020-11-24 10:45:00 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2020-11-24 10:45:00 +0200 |
commit | 0a2bc5d61e713e3fe72438f020eea5fcc90b0f0b (patch) | |
tree | 8f630f828fa6bbfb5984f037118211cd68d8a50e /src/include/nodes/execnodes.h | |
parent | e522024bd8dd28a0f13dcccfd39170698f45c939 (diff) |
Move per-agg and per-trans duplicate finding to the planner.
This has the advantage that the cost estimates for aggregates can count
the number of calls to transition and final functions correctly.
Bump catalog version, because views can contain Aggrefs.
Reviewed-by: Andres Freund
Discussion: https://www.postgresql.org/message-id/b2e3536b-1dbc-8303-c97e-89cb0b4a9a48%40iki.fi
Diffstat (limited to 'src/include/nodes/execnodes.h')
-rw-r--r-- | src/include/nodes/execnodes.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h index f6824bf2e1b..61ba4c36662 100644 --- a/src/include/nodes/execnodes.h +++ b/src/include/nodes/execnodes.h @@ -747,17 +747,6 @@ typedef tuplehash_iterator TupleHashIterator; */ /* ---------------- - * AggrefExprState node - * ---------------- - */ -typedef struct AggrefExprState -{ - NodeTag type; - Aggref *aggref; /* expression plan node */ - int aggno; /* ID number for agg within its plan node */ -} AggrefExprState; - -/* ---------------- * WindowFuncExprState node * ---------------- */ |