Re: Crashes on a partition whose concurrent detach never finished

From: Nisha Moond <nisha(dot)moond412(at)gmail(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Zhijie Hou <houzhijie22(at)gmail(dot)com>, shveta malik <shveta(dot)malik(at)gmail(dot)com>, Mihail Nikalayeu <mihailnikalayeu(at)gmail(dot)com>, Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, vignesh C <vignesh21(at)gmail(dot)com>, "ashutosh(dot)bapat(dot)oss(at)gmail(dot)com" <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, shveta malik <shvetamalik(at)gmail(dot)com>
Subject: Re: Crashes on a partition whose concurrent detach never finished
Date: 2026-11-13 06:35:20
Message-ID: CABdArM6s95U4=7KRk75vr9kHyeactaxNAgNSkFuihTAy3GXKLg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Nov 12, 2026 at 1:42 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>
> On Thu, Nov 12, 2026 at 11:29 AM Nisha Moond <nisha(dot)moond412(at)gmail(dot)com> wrote:
> >
> > On Wed, Nov 11, 2026 at 8:04 PM Zhijie Hou <houzhijie22(at)gmail(dot)com> wrote:
> > >
> > > I'm helping to merge the changes into 0001 and preparing patches for all
> > > branches, hoping to close this item soon.
> > >
> >
> > Thanks for the patches. The fix LGTM. I tested the patches on all
> > respective branches and found no issues.
> >
>
> Pushed.
>

Here are the remaining patches rebased and updated as needed:
v3-0001: Rebased only; no other changes.

v3-0002: The code is unchanged. Its TAP test depended on the setup
in the old v2-0001 test in 100_bugs.pl, which was not committed (the
committed fix tests via test_decoding instead). I kept the parts it
needs and trimmed the rest to what this patch fixes. The checks of
what pgoutput sends are removed, as decoding is now covered by the
committed test.

v3-0003: Rebased only; no other changes.

--
Thanks,
Nisha

Attachment Content-Type Size
v3-0001-Fix-crash-inserting-into-a-partition-pending-deta.patch application/x-patch 8.4 KB
v3-0002-Include-partitions-pending-detach-in-publication-.patch application/x-patch 13.1 KB
v3-0003-Invalidate-a-partition-s-relcache-when-its-concur.patch application/x-patch 10.5 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Borodin 2026-11-13 06:39:02 Re: Possible race condition in pg_basebackup
Previous Message wenhui qiu 2026-11-13 06:13:07 Re: Wrong results from GROUP BY column removal