Re: BUG #19723: CREATE INDEX racing with ALTER INDEX ATTACH PARTITION triggers unexpected internal error

From: Alexander Lakhin <exclusion(at)gmail(dot)com>
To: Álvaro Herrera <alvherre(at)kurilemu(dot)de>, Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
Cc: Rafia Sabih <rafia(dot)pghackers(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19723: CREATE INDEX racing with ALTER INDEX ATTACH PARTITION triggers unexpected internal error
Date: 2026-12-03 05:00:00
Message-ID: 3695007a-c43e-4382-a30d-b63db639f2d3@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello Álvaro, Ayush, and Rafia,

01.12.2026 13:33, Álvaro Herrera wrote:
> On 2026-Nov-30, Ayush Tiwari wrote:
>
>> Tried keeping the early has_superclass() skip and rechecking after
>> locking a candidate. That fixed the original race without either of
>> these regressions. In my fuzz test I could not see any more issues.
> I'm not sure what you mean exactly. But in any case, I convinced myself
> that Rafia's idea was the good one, so I pushed her patch.
>
> Thanks

Thank you for fixing that defect!

Best regards,
Alexander

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Kirill Reshke 2026-12-03 07:05:27 Re: BUG #19967: ecpg crashes after "cursor does not exist" on FETCH or MOVE
Previous Message Raja Sai pranav 2026-12-03 04:59:21 Re: btree_gist: <-> fails on same-sign infinite intervals