Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3d8652c

Browse files
committed
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
1 parent 4e76f98 commit 3d8652c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/backend/access/heap/vacuumlazy.c

-1
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,6 @@ find_next_unskippable_block(LVRelState *vacrel, bool *skipsallvis)
12331233
*skipsallvis = true;
12341234
}
12351235

1236-
vacuum_delay_point();
12371236
next_unskippable_block++;
12381237
}
12391238

0 commit comments

Comments
 (0)