Re: BUG #19353: Error XX000 if referencing expanded array in grouping set: variable not found in subplan target list - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #19353: Error XX000 if referencing expanded array in grouping set: variable not found in subplan target list
Date
Msg-id 1018067.1765558484@sss.pgh.pa.us
Whole thread Raw
In response to BUG #19353: Error XX000 if referencing expanded array in grouping set: variable not found in subplan target list  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #19353: Error XX000 if referencing expanded array in grouping set: variable not found in subplan target list
List pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> After upgrading to Postgres 18 I've come across an error I wasn't getting
> beforehand. Here's a minimal way to reproduce the issue, that used to work
> well in Postgres 12 and 17 at least.

Thank you for this well-crafted bug report!  Bisecting shows that
it broke at

f5050f795aea67dfc40bbc429c8934e9439e22e7 is the first bad commit
commit f5050f795aea67dfc40bbc429c8934e9439e22e7 (HEAD)
Author: Richard Guo <rguo@postgresql.org>
Date:   Tue Sep 10 12:36:48 2024 +0900

    Mark expressions nullable by grouping sets

I have not dug any deeper than that.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #19352: SQL Error messages do not include schema name along with table or data object name.
Next
From: "yanliang lei"
Date:
Subject: Re:Re: Re: BUG #19351: in pg18.1,when not null exists in the table , and add constraint problem.