Re: Allow cancelling VACUUM of nbtrees with corrupted right links

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Allow cancelling VACUUM of nbtrees with corrupted right links
Date: 2018-06-27 19:18:45
Message-ID: 20180627191845.zizpfmvr3w3jxtkn@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2018-06-27 19:43:46 Re: Performance regression with PostgreSQL 11 and partitioning
Previous Message Alvaro Herrera 2018-06-27 19:18:19 Re: Remove mention in docs that foreign keys on partitioned tables are not supported