projects
/
online_analyze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3c8eb75
)
use new name of log_vacuum_min_duration for v19 on online_analyze
master
author
Teodor Sigaev
<teodor@sigaev.ru>
Mon, 22 Jun 2026 16:16:02 +0000
(19:16 +0300)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Mon, 22 Jun 2026 16:16:02 +0000
(19:16 +0300)
Anton Voloshin <a.voloshin@postgrespro.ru>
online_analyze.c
patch
|
blob
|
history
diff --git
a/online_analyze.c
b/online_analyze.c
index
363a5ae
..
89c9e24
100644
(file)
--- 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;
#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
vacstmt.log_min_duration = -1;
#endif
+#endif
if (online_analyze_verbose)
if (online_analyze_verbose)