use new name of log_vacuum_min_duration for v19 on online_analyze master
authorTeodor Sigaev <teodor@sigaev.ru>
Mon, 22 Jun 2026 16:16:02 +0000 (19:16 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Mon, 22 Jun 2026 16:16:02 +0000 (19:16 +0300)
Anton Voloshin <a.voloshin@postgrespro.ru>

online_analyze.c

index 363a5ae..89c9e24 100644 (file)
@@ -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)