Re: Remove useless GROUP BY columns considering unique index

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: jian he <jian(dot)universality(at)gmail(dot)com>
Cc: Zhang Mingli <zmlpostgres(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Remove useless GROUP BY columns considering unique index
Date: 2024-11-29 02:39:03
Message-ID: CAApHDvrJjL3fLGoNh5QnPKx4b8ckDbAXeY1H+E6smFj8cULORQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 29 Nov 2024 at 15:02, David Rowley <dgrowleyml(at)gmail(dot)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.

David

Attachment Content-Type Size
v9-0001-remove-useless-group-by-columns-via-unique-not-nu.patch application/octet-stream 21.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2024-11-29 03:02:01 Re: Converting SetOp to read its two inputs separately
Previous Message Masahiro Ikeda 2024-11-29 02:33:47 Re: Adding skip scan (including MDAM style range skip scan) to nbtree