From 997ecf1f29337646a440bac00fb4639993f52e40 Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Mon, 22 Jun 2026 19:16:02 +0300 Subject: [PATCH] use new name of log_vacuum_min_duration for v19 on online_analyze Anton Voloshin --- online_analyze.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/online_analyze.c b/online_analyze.c index 363a5ae..89c9e24 100644 --- a/online_analyze.c +++ b/online_analyze.c @@ -619,8 +619,12 @@ makeAnalyze(Oid relOid, CmdKind operation, int64 naffected) #else vacstmt.multixact_freeze_min_age = -1; vacstmt.multixact_freeze_table_age = -1; +#if PG_VERSION_NUM >= 190000 + vacstmt.log_vacuum_min_duration = -1; +#else vacstmt.log_min_duration = -1; #endif +#endif if (online_analyze_verbose) -- 2.49.0