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 /src/include/commands | |
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 <[email protected]>
Co-authored-by: Bertrand Drouvot <[email protected]>
Discussion: https://postgr.es/m/ZmaXmWDL829fzAVX%40ip-10-97-1-34.eu-west-3.compute.internal
Diffstat (limited to 'src/include/commands')
-rw-r--r-- | src/include/commands/vacuum.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/commands/vacuum.h b/src/include/commands/vacuum.h index 7dad14319a1..7fbb738eb8f 100644 --- a/src/include/commands/vacuum.h +++ b/src/include/commands/vacuum.h @@ -356,7 +356,7 @@ extern bool vacuum_get_cutoffs(Relation rel, const VacuumParams *params, struct VacuumCutoffs *cutoffs); extern bool vacuum_xid_failsafe_check(const struct VacuumCutoffs *cutoffs); extern void vac_update_datfrozenxid(void); -extern void vacuum_delay_point(void); +extern void vacuum_delay_point(bool is_analyze); extern bool vacuum_is_permitted_for_relation(Oid relid, Form_pg_class reltuple, bits32 options); extern Relation vacuum_open_relation(Oid relid, RangeVar *relation, |