Re: Remove useless GROUP BY columns considering unique index - Mailing list pgsql-hackers

From Andrei Lepikhov
Subject Re: Remove useless GROUP BY columns considering unique index
Date
Msg-id 1507cbb9-937f-48f5-9931-b67014511f9b@gmail.com
Whole thread Raw
In response to Remove useless GROUP BY columns considering unique index  (Zhang Mingli <zmlpostgres@gmail.com>)
List pgsql-hackers
On 11/29/24 09:39, David Rowley wrote:
> On Fri, 29 Nov 2024 at 15:02, David Rowley <dgrowleyml@gmail.com> wrote:
>> I've attached an updated patch that gets rid of the
>> get_unique_not_null_attnos() function completely and uses the
>> RelOptInfo.indexlist and RelOptInfo.notnullattnums.
> 
> I forgot to do a local commit before sending v8. Fixed in the attached v9.
1. Thread reference in the patch comment doesn't work.
2. May it be possible to move remove_useless_groupby_columns in the 
second commit? It would be easier to review the differences.

-- 
regards, Andrei Lepikhov



pgsql-hackers by date:

Previous
From: Kirill Reshke
Date:
Subject: Re: relfilenode statistics
Next
From: Amit Langote
Date:
Subject: Re: doc fail about ALTER TABLE ATTACH re. NO INHERIT