Re: Removing redundant grouping columns
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-hackers@lists.postgresql.org
Date: 2022-12-27T23:24:44Z
Lists: pgsql-hackers
Attachments
- remove-redundant-GROUP-BY-2.patch (text/x-diff) patch
I wrote: > This patch is aimed at being smarter about cases where we have > redundant GROUP BY entries, for example > SELECT ... WHERE a.x = b.y GROUP BY a.x, b.y; The cfbot didn't like this, because of a variable that wasn't used in non-assert builds. Fixed in v2. regards, tom lane
Commits
-
Remove redundant grouping and DISTINCT columns.
- 8d83a5d0a267 16.0 landed
-
Add 250c8ee07ed to git-blame-ignore-revs
- ff23b592ad66 16.0 cited