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
This commit is contained in:
Heikki Linnakangas 2024-03-11 20:43:04 +02:00
parent 4e76f984a7
commit 3d8652cd32
1 changed files with 0 additions and 1 deletions

View File

@ -1233,7 +1233,6 @@ find_next_unskippable_block(LVRelState *vacrel, bool *skipsallvis)
*skipsallvis = true;
}
vacuum_delay_point();
next_unskippable_block++;
}