diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-03-11 20:43:04 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-03-11 20:45:33 +0200 |
commit | 3d8652cd32846e4f9eaff9580858d281136bd0fd (patch) | |
tree | 4199156ba79ffe24655e8d82ad0db7bb09a06a92 | |
parent | 4e76f984a7730cde81e2cfc015de6c2b3dadca99 (diff) | |
download | postgresql-3d8652cd32846e4f9eaff9580858d281136bd0fd.tar.gz postgresql-3d8652cd32846e4f9eaff9580858d281136bd0fd.zip |
Remove unneeded vacuum_delay_point from heap_vac_scan_get_next_block
heap_vac_scan_get_next_block() does relatively little work, so there
is no need to call vacuum_delay_point(). A future commit will call
heap_vac_scan_get_next_block() from a callback, and we would like to
avoid calling vacuum_delay_point() in that callback.
Author: Melanie Plageman
Discussion: https://postgr.es/m/CAAKRu_Yf3gvXGcCnqqfoq0Q8LX8UM-e-qbm_B1LeZh60f8WhWA%40mail.gmail.com
-rw-r--r-- | src/backend/access/heap/vacuumlazy.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backend/access/heap/vacuumlazy.c b/src/backend/access/heap/vacuumlazy.c index 61f8cf39e0e..18004907750 100644 --- a/src/backend/access/heap/vacuumlazy.c +++ b/src/backend/access/heap/vacuumlazy.c @@ -1233,7 +1233,6 @@ find_next_unskippable_block(LVRelState *vacrel, bool *skipsallvis) *skipsallvis = true; } - vacuum_delay_point(); next_unskippable_block++; } |