pgsql: Remove overzealous VACUUM failsafe assertions.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove overzealous VACUUM failsafe assertions.
Date: 2021-06-21 01:15:02
Message-ID: E1lv8Wk-0003g9-UE@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove overzealous VACUUM failsafe assertions.

The failsafe can trigger when index processing is already disabled.
This can happen when VACUUM's INDEX_CLEANUP parameter is "off" and the
failsafe happens to trigger. Remove assertions that assume that index
processing is directly tied to the failsafe.

Oversight in commit c242baa4, which made it possible for the failsafe to
trigger in a two-pass strategy VACUUM that has yet to make its first
call to lazy_vacuum_all_indexes().

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e8f201ab82be234b2f103234cf9f262f9afeaeba

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2021-06-21 03:53:10 pgsql: doc: add mention of +4GB windows file handling in PG14 relnotes
Previous Message Alvaro Herrera 2021-06-20 16:37:49 pgsql: Revert "Add test case for obsoleting slot with active walsender"