Don't pass the grouping target around unnecessarily.
Robert Haas <rhaas@postgresql.org>
Don't pass the grouping target around unnecessarily. Since commit 4f15e5d09de276fb77326be5567dd9796008ca2e made grouped_rel set reltarget, a variety of other functions can just get it from grouped_rel instead of having to pass it around explicitly. Simplify accordingly. Patch by me, reviewed by Ashutosh Bapat. Discussion: http://postgr.es/m/CA+TgmoZ+ZJTVad-=vEq393N99KTooxv9k7M+z73qnTAqkb49BQ@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/optimizer/plan/planner.c | modified | +15 −26 |
| src/backend/optimizer/util/pathnode.c | modified | +2 −2 |
| src/include/optimizer/pathnode.h | modified | +0 −2 |
Discussion
- Partition-wise aggregation/grouping 153 messages · 2017-03-21 → 2018-04-10