Re: pg16: XX000: could not find pathkey item to sort

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Alexander Lakhin <exclusion(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
Cc: Richard Guo <guofenglinux(at)gmail(dot)com>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pg16: XX000: could not find pathkey item to sort
Date: 2024-03-14 22:58:09
Message-ID: CAApHDvr8Wu1MuK+M5d2hiWujCBkPmacCqfBd-9RVZadrAgA6eA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 14 Mar 2024 at 12:00, David Rowley <dgrowleyml(at)gmail(dot)com> wrote:
> I've attached a patch which fixes the problem for me.

I've pushed the patch to fix gather_grouping_paths(). The issue with
the RelOptInfo having the incorrect PathTarget->exprs after the
partial phase of partition-wise aggregate remains.

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2024-03-14 22:58:24 Re: type cache cleanup improvements
Previous Message Michael Paquier 2024-03-14 22:53:57 Re: Weird test mixup