Re: Allow cancelling VACUUM of nbtrees with corrupted right links - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Allow cancelling VACUUM of nbtrees with corrupted right links
Date
Msg-id 20180627191845.zizpfmvr3w3jxtkn@alap3.anarazel.de
Whole thread Raw
In response to Allow cancelling VACUUM of nbtrees with corrupted right links  (Andres Freund <andres@anarazel.de>)
Responses Re: Allow cancelling VACUUM of nbtrees with corrupted right links
List pgsql-hackers
Hi,

On 2018-06-27 12:16:29 -0700, Andres Freund wrote:
> I couldn't see how to fix the _bt_unlink_halfdead_page() right-sib loop,
> because we always hold a lock. But given that that loop appears to
> mostly be dead code, that doesn't seem too bad?

It's possibly wrong that it's unreachable - I've just not managed to get
there. If somebody has an idea how to build a reproducible case to reach
it...

- Andres


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Remove mention in docs that foreign keys on partitioned tablesare not supported
Next
From: Alvaro Herrera
Date:
Subject: Re: Performance regression with PostgreSQL 11 and partitioning