Re: PANIC in heap_delete during ALTER TABLE

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Jeff Davis <pgsql@j-davis.com>
Cc: Robins Tharakan <tharakan@gmail.com>, pgsql-bugs@postgresql.org
Date: 2022-09-21T05:46:38Z
Lists: pgsql-bugs
On Tue, Sep 20, 2022 at 11:32:05AM -0700, Jeff Davis wrote:
> I would prefer if I was able to repro on 13 first, and some review
> would be nice given the area involved and how close we are to release.
> But it seems like fixing a bug is better than not. If someone thinks
> this is the wrong time to commit and wants me to hold off, please let
> me know.

Doing something in the next 48 hours will give enough room to the
buildfarm to check this stuff for 15 RC.  So the timing is fine in my
opinion.
--
Michael

Commits

  1. Fix race condition where heap_delete() fails to pin VM page.

  2. Avoid improbable PANIC during heap_update.

  3. Remove tupgone special case from vacuumlazy.c.