Re: Assertion failure in get_matching_part_pairs() with pruned partitions

From: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
To: shihao zhong <zhong950419(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>, Guofenglinux <guofenglinux(at)gmail(dot)com>
Subject: Re: Assertion failure in get_matching_part_pairs() with pruned partitions
Date: 2026-11-30 04:30:00
Message-ID: CAExHW5u9tp1v7=DHYxGQY2cS-Cdnnug-bWqztrbUvodNJB_T_g@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Nov 30, 2026 at 9:15 AM shihao zhong <zhong950419(at)gmail(dot)com> wrote:

> Hi Ashutosh,
>
> Thanks for reviewing my patch.
>
> In v2 a pruned partition is ignored only when its relation has no
> default partition. Otherwise it is matched like any other partition, as
> the equal bounds path does.
>
> Why only in the case of tables with default partitions?

--
Best Wishes,
Ashutosh Bapat

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ajin Cherian 2026-11-30 04:51:27 Re: Preserve conflict log table during upgrade
Previous Message shihao zhong 2026-11-30 03:59:44 Re: [Patch] New pg_stat_tablespace view