Re: Wrong results with grouping sets - Mailing list pgsql-hackers

From Richard Guo
Subject Re: Wrong results with grouping sets
Date
Msg-id CAMbWs49RNmFhgDzoL=suWJrCSk-wizXa6uVtp0Jmz0z+741nSA@mail.gmail.com
Whole thread Raw
In response to Re: Wrong results with grouping sets  (Richard Guo <guofenglinux@gmail.com>)
Responses Re: Wrong results with grouping sets
Re: Wrong results with grouping sets
List pgsql-hackers
On Sat, Jul 6, 2024 at 9:26 AM Richard Guo <guofenglinux@gmail.com> wrote:
> On Thu, Jul 4, 2024 at 6:02 PM Ashutosh Bapat
> <ashutosh.bapat.oss@gmail.com> wrote:
> > I don't have any specific thoughts on backpatching, but I have started
> > reviewing the patches.

> Thanks for reviewing this patchset!

Here is an updated version of this patchset.  I've added some comments
according to the review feedback, and also tweaked the commit messages
a bit more.

Additionally, I've made a change to only add the new RTE_GROUP RTE
when there are acceptable GROUP BY expressions.  This allows us to
skip all the trouble of doing this for queries without GROUP BY
clauses.

Thanks
Richard

Attachment

pgsql-hackers by date:

Previous
From: Richard Guo
Date:
Subject: Re: Wrong results with grouping sets
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: Add pg_get_acl() to get the ACL for a database object