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

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
Cc: Rafia Sabih <rafia(dot)pghackers(at)gmail(dot)com>, exclusion(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-01 11:33:25
Message-ID: aw6wJ3W1MNuztyiL@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
"Java is clearly an example of money oriented programming" (A. Stepanov)

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Pavan 2026-12-01 12:10:26 Re: BUG #19952: psql \d+ omits nondefault replica identity for partitioned tables
Previous Message Alexander Lakhin 2026-12-01 11:00:00 Re: BUG #19962: pg_dumpall can't produce restorable circular grants with ADMIN OPTION