diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/commands/vacuum.h | 5 | ||||
-rw-r--r-- | src/include/utils/rel.h | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/include/commands/vacuum.h b/src/include/commands/vacuum.h index 9fd25169230..71f016552bf 100644 --- a/src/include/commands/vacuum.h +++ b/src/include/commands/vacuum.h @@ -142,6 +142,9 @@ typedef struct VacuumParams int multixact_freeze_table_age; /* multixact age at which to * scan whole table */ bool is_wraparound; /* force a for-wraparound vacuum */ + int log_min_duration; /* minimum execution threshold in ms at + * which verbose logs are activated, + * -1 to use default */ } VacuumParams; /* GUC parameters */ @@ -191,7 +194,7 @@ extern void lazy_vacuum_rel(Relation onerel, int options, /* in commands/analyze.c */ extern void analyze_rel(Oid relid, RangeVar *relation, int options, - List *va_cols, bool in_outer_xact, + VacuumParams *params, List *va_cols, bool in_outer_xact, BufferAccessStrategy bstrategy); extern bool std_typanalyze(VacAttrStats *stats); extern double anl_random_fract(void); diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h index 6bd786df2d6..9e17d87413d 100644 --- a/src/include/utils/rel.h +++ b/src/include/utils/rel.h @@ -209,6 +209,7 @@ typedef struct AutoVacOpts int multixact_freeze_min_age; int multixact_freeze_max_age; int multixact_freeze_table_age; + int log_min_duration; float8 vacuum_scale_factor; float8 analyze_scale_factor; } AutoVacOpts; |