Re: Assert while autovacuum was executing - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Assert while autovacuum was executing
Date
Msg-id CAH2-Wzk0M1HGnHcuBYSESLE9iD1YnJAtWbKmtk+yMd0nPvXoPg@mail.gmail.com
Whole thread Raw
In response to Re: Assert while autovacuum was executing  (Andres Freund <andres@anarazel.de>)
Responses Re: Assert while autovacuum was executing
List pgsql-hackers
On Tue, Jun 20, 2023 at 10:27 PM Andres Freund <andres@anarazel.de> wrote:
> As far as I can tell 72e78d831a as-is is just bogus. Unfortunately that likely
> also means 3ba59ccc89 is not right.

Quite possibly. But I maintain that ginInsertCleanup() is probably
also bogus in a way that's directly relevant.

Did you know that ginInsertCleanup() is the only code that uses
heavyweight page locks these days? Though only on the index metapage!

Isn't this the kind of thing that VACUUM's relation level lock is
supposed to take care of?


--
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Adding further hardening to nbtree page deletion
Next
From: Michael Paquier
Date:
Subject: Consider \v to the list of whitespace characters in the parser