Content-Length: 262706 | pFad | http://github.com/postgrespro/postgres/commit/00caa63110e34a24b33b0bb51086ca4d8bcee175

71 3 · postgrespro/postgres@00caa63 · GitHub
Skip to content

Commit 00caa63

Browse files
committed
3
1 parent 7ee54dc commit 00caa63

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/backend/optimizer/plan/planner.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,10 @@ grouping_planner(PlannerInfo *root, double tuple_fraction,
14211421
}
14221422
else if (parse->groupClause)
14231423
{
1424-
/* Preprocess regular GROUP BY clause, if any */
1424+
/*
1425+
* Make a copy of origen groupClause because we are going to
1426+
* remove redundant clauses.
1427+
*/
14251428
root->processed_groupClause = list_copy(parse->groupClause);
14261429
/* Remove any redundant GROUP BY columns */
14271430
remove_useless_groupby_columns(root);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/00caa63110e34a24b33b0bb51086ca4d8bcee175

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy