Move per-agg and per-trans duplicate finding to the planner.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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
Files
Discussion
- Deduplicate aggregates and transition functions in planner 6 messages · 2020-10-28 → 2020-11-24