pgsql: Remove overzealous VACUUM failsafe assertions. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: Remove overzealous VACUUM failsafe assertions.
Date
Msg-id E1lv8Wk-0003g9-UE@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Revert "Add test case for obsoleting slot with active walsender"
Next
From: Bruce Momjian
Date:
Subject: pgsql: doc: add mention of +4GB windows file handling in PG14 relnotes