Re: Wrong results with grouping sets

From: Richard Guo <guofenglinux(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Wrong results with grouping sets
Date: 2024-07-10 01:11:59
Message-ID: CAMbWs48GBLcNOEvHrtrZSHiT1dWrhA8TMbCe5wextpNzP2VFfg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Jul 6, 2024 at 10:37 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Richard Guo <guofenglinux(at)gmail(dot)com> writes:
> > BTW, from catversion.h I read:
>
> > * Another common reason for a catversion update is a change in parsetree
> > * external representation, since serialized parsetrees appear in stored
> > * rules and new-style SQL functions. Almost any change in primnodes.h or
> > * parsenodes.h will warrant a catversion update.
>
> > Since this patchset changes the querytree produced by the parser, does
> > this indicate that a catversion bump is needed?
>
> Yes, it would.

Thank you for confirming.

Thanks
Richard

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Richard Guo 2024-07-10 01:22:54 Re: Wrong results with grouping sets
Previous Message Jeff Davis 2024-07-10 00:47:36 Re: MAINTAIN privilege -- what do we need to un-revert it?