Re: PG 18 release notes draft committed

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Richard Guo <guofenglinux(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: PG 18 release notes draft committed
Date: 2025-05-09 18:03:10
Message-ID: aB5DXnpf-_P7lO0-@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, May 9, 2025 at 12:05:07PM +0900, Richard Guo wrote:
> > I think there are two patterns here:
> >
> > * 247dea89f and cc5d98525 fix cases where grouping expressions fail to
> > match lower-level target items due to expression preprocessing or
> > subquery pull-up. Subqueries are one example of such expressions.
> >
> > * f5050f795 fixes cases where some seemingly redundant grouping or
> > ordering expressions were incorrectly ignored, without recognizing
> > that they could be nulled by grouping sets.
> >
> > I don't think this constitutes an incompatibility, and it's unlikely
> > that anyone is relying on the old behavior, as it was clearly
> > incorrect.
> >
> > (I realize these descriptions are too technical, but I'm not sure how
> > to express them in a more user-facing way.)
>
> How about putting them this way:
>
> * 247dea89f and cc5d98525 fix queries in which GROUP BY columns
> contain expressions that are complex or originate from subqueries.
>
> * f5050f795 fixes queries in which ORDER BY columns contain
> expressions that are used in grouping sets.

Okay, that is clear. Let's stay with what we have in the release notes
and see if we get any feedback from users during the beta period; that
might give us direction on whether we want to expand what we already
have. Thanks.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Do not let urgent matters crowd out time for investment in the future.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2025-05-09 18:07:17 Re: Adding skip scan (including MDAM style range skip scan) to nbtree
Previous Message Sami Imseih 2025-05-09 17:47:19 Re: queryId constant squashing does not support prepared statements