Remove overzealous VACUUM visibility map assertion.

The all_visible_according_to_vm variable's value is inherently prone to
becoming invalidated concurrently, since it is set before we even
acquire a lock on a related heap page buffer.

Oversight in commit 7136bf34, which added the assertion in passing.

Author: Masahiko Sawada <[email protected]>
Reported-By: Tang <[email protected]>
Diagnosed-By:: Masahiko Sawada <[email protected]>
Discussion: 
https://postgr.es/m/cad21aodzgc8_myra5m1fyydomw_evktqiyh7sfdk4kehdms...@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 1 -
1 file changed, 1 deletion(-)

Reply via email to