Re: Inconsistent Behavior of GROUP BY ROLLUP in v17 vs master - Mailing list pgsql-hackers

From Richard Guo
Subject Re: Inconsistent Behavior of GROUP BY ROLLUP in v17 vs master
Date
Msg-id CAMbWs49_u=cuQzoFFzX9JHDmNeNQdpX2wvv6jdtuUmOt6xB5JA@mail.gmail.com
Whole thread Raw
In response to Re: Inconsistent Behavior of GROUP BY ROLLUP in v17 vs master  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Inconsistent Behavior of GROUP BY ROLLUP in v17 vs master
List pgsql-hackers
On Tue, Oct 21, 2025 at 12:26 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Richard Guo <guofenglinux@gmail.com> writes:
> > Regarding the tests, I think we could add another test query to cover
> > the case with no empty grouping sets and degenerate HAVING clauses.
> > This way, all cases for the HAVING pushdown optimization with grouping
> > sets should be covered.
>
> > I've added such a test in v5, along with a commit message.  Nothing
> > else has changed.  I'll push this patch soon, barring any objections.

> v5 LGTM.

Cool!  I've pushed and back-patched v5.  Thanks for working on this
patch.

邱宇航, thanks for the report -- it's a good one.  This issue should
be fixed in 18.1, which is scheduled for release in November (the
13th, I believe).

- Richard



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Add \pset options for boolean value display
Next
From: jian he
Date:
Subject: Re: remove unnecessary include in src/backend/commands/policy.c