From: Tom Lane <tgl@sss.pgh.pa.us>
To: marian.muller@serli.com
Cc: pgsql-bugs@lists.postgresql.org, Richard Guo <guofenglinux@gmail.com>
Subject: Re: BUG #19353: Error XX000 if referencing expanded array in grouping set: variable not found in subplan target list
Date: Fri, 12 Dec 2025 11:54:44 -0500
Message-ID: <1018067.1765558484@sss.pgh.pa.us> (raw)
In-Reply-To: <19353-aaa179bba986a19b@postgresql.org>
References: <19353-aaa179bba986a19b@postgresql.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, marian.muller@serli.com, guofenglinux@gmail.com
Subject: Re: BUG #19353: Error XX000 if referencing expanded array in grouping set: variable not found in subplan target list
In-Reply-To: <1018067.1765558484@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox