Re: Re: BUG #19070: issue with DETACH PARTITION CONCURRENTLY on a hash partition table - Mailing list pgsql-bugs

From Álvaro Herrera
Subject Re: Re: BUG #19070: issue with DETACH PARTITION CONCURRENTLY on a hash partition table
Date
Msg-id 202510111831.xmk4a6jrtrqm@alvherre.pgsql
Whole thread Raw
In response to Re:Re: BUG #19070: issue with DETACH PARTITION CONCURRENTLY on a hash partition table  (ocean_li_996 <ocean_li_996@163.com>)
List pgsql-bugs
On 2025-Oct-11, ocean_li_996 wrote:

> Based on the discussion in #18371 and my own investigation, I think the
> proposed fix is appropriate. I’m attaching patches for both the stable
> and master branches, FYI.

Yeah, looks good -- pushed to all branches since 14.  One thing I
modified in branch master is that the test just above the new one is
testing that a constraint is being added, but that's no longer true, so
I removed some lines there.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"El número de instalaciones de UNIX se ha elevado a 10,
y se espera que este número aumente" (UPM, 1972)



pgsql-bugs by date:

Previous
From: Xuneng Zhou
Date:
Subject: Re: BUG #19006: Assert(BufferIsPinned) in BufferGetBlockNumber() is triggered for forwarded buffer
Next
From: Álvaro Herrera
Date:
Subject: Re: BUG #18371: There are wrong constraint residues when detach hash partiton concurrently