Re: BUG #19752: GROUP BY on a constant and a cast to a length-limited array type crashes the server while planning

From: Andrey Rachitskiy <pl0h0yp1(at)gmail(dot)com>
To: Mert Kul <mertkul669(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Richard Guo <guofenglinux(at)gmail(dot)com>
Subject: Re: BUG #19752: GROUP BY on a constant and a cast to a length-limited array type crashes the server while planning
Date: 2026-10-12 17:54:23
Message-ID: CAB8bMit3pPPvEDXK07zMRR98CukL3PN4TWA1vyTzXBpAKW+aCA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

пн, 12 окт. 2026 г. в 22:48, Mert Kul <mertkul669(at)gmail(dot)com>:

> Thanks for working on this!
>
> Is this patch considered the definitive fix for the underlying issue, or
> is it more of a temporary workaround?
> In particular, do you think matching grouping expressions by *ressortgroupref
> *fully addresses the problem,
> including the potential for incorrect query results, or are further
> changes needed?
>

Hi, Mert!

We need Tom to look at my solution, he might not like it :). Although I
think I took his wishes into account.

--
Regards,
Rachitskiy Andrey

In response to

Browse pgsql-bugs by date

  From Date Subject
Previous Message Kelly Morrison 2026-10-12 17:03:10 postgres_fdw: semi-join pushdown generates invalid remote SQL ("missing FROM-clause entry") with a nested correlated subquery