diff options
author | Robert Haas <rhaas@postgresql.org> | 2018-03-20 11:33:44 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2018-03-20 11:37:43 -0400 |
commit | 94150513ec12c13eb7c98430fc34f477896d38c9 (patch) | |
tree | b95beafe1e02f8d341753da2360e3c6896ad7344 /src/include/optimizer/pathnode.h | |
parent | b6cbe9ea1a6e6879926318158d73d430c14aca90 (diff) | |
download | postgresql-94150513ec12c13eb7c98430fc34f477896d38c9.tar.gz postgresql-94150513ec12c13eb7c98430fc34f477896d38c9.zip |
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
Diffstat (limited to 'src/include/optimizer/pathnode.h')
-rw-r--r-- | src/include/optimizer/pathnode.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/optimizer/pathnode.h b/src/include/optimizer/pathnode.h index ef7173fbf8c..381bc30813c 100644 --- a/src/include/optimizer/pathnode.h +++ b/src/include/optimizer/pathnode.h @@ -178,7 +178,6 @@ extern SortPath *create_sort_path(PlannerInfo *root, extern GroupPath *create_group_path(PlannerInfo *root, RelOptInfo *rel, Path *subpath, - PathTarget *target, List *groupClause, List *qual, double numGroups); @@ -200,7 +199,6 @@ extern AggPath *create_agg_path(PlannerInfo *root, extern GroupingSetsPath *create_groupingsets_path(PlannerInfo *root, RelOptInfo *rel, Path *subpath, - PathTarget *target, List *having_qual, AggStrategy aggstrategy, List *rollups, |