diff options
| author | Nathan Bossart | 2025-02-11 22:38:14 +0000 |
|---|---|---|
| committer | Nathan Bossart | 2025-02-11 22:38:14 +0000 |
| commit | e5b0b0ce150972bf162a059430d84e5f8e07cf30 (patch) | |
| tree | d30a1a2c7245046ddf906e0dd63dd35dcaec9734 /contrib/bloom/blvacuum.c | |
| parent | d0d649e91685081e6c5334d6d01ab4cd735b397d (diff) | |
Add is_analyze parameter to vacuum_delay_point().
This function is used in both vacuum and analyze code paths, and a
follow-up commit will require distinguishing between the two. This
commit forces callers to specify whether they are in a vacuum or
analyze path, but it does not use that information for anything
yet.
Author: Nathan Bossart <nathandbossart@gmail.com>
Co-authored-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://postgr.es/m/ZmaXmWDL829fzAVX%40ip-10-97-1-34.eu-west-3.compute.internal
Diffstat (limited to 'contrib/bloom/blvacuum.c')
| -rw-r--r-- | contrib/bloom/blvacuum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/bloom/blvacuum.c b/contrib/bloom/blvacuum.c index 7e1db0b52fc..86b15a75f6f 100644 --- a/contrib/bloom/blvacuum.c +++ b/contrib/bloom/blvacuum.c @@ -57,7 +57,7 @@ blbulkdelete(IndexVacuumInfo *info, IndexBulkDeleteResult *stats, *itupPtr, *itupEnd; - vacuum_delay_point(); + vacuum_delay_point(false); buffer = ReadBufferExtended(index, MAIN_FORKNUM, blkno, RBM_NORMAL, info->strategy); @@ -187,7 +187,7 @@ blvacuumcleanup(IndexVacuumInfo *info, IndexBulkDeleteResult *stats) Buffer buffer; Page page; - vacuum_delay_point(); + vacuum_delay_point(false); buffer = ReadBufferExtended(index, MAIN_FORKNUM, blkno, RBM_NORMAL, info->strategy); |
