Re: Removing redundant grouping columns

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Removing redundant grouping columns
Date: 2022-12-27 23:24:44
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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

Attachment Content-Type Size
remove-redundant-GROUP-BY-2.patch text/x-diff 37.9 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2022-12-28 00:10:49 Re: [PATCH] Support using "all" for the db user in pg_ident.conf
Previous Message Tom Lane 2022-12-27 23:10:39 Re: build gcc warning