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:
7ccbd62
)
Use VacuumParams by value.
master
author
Teodor Sigaev
<teodor@sigaev.ru>
Thu, 2 Apr 2026 11:41:26 +0000
(14:41 +0300)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Thu, 2 Apr 2026 11:41:26 +0000
(14:41 +0300)
Caused by:
-
2252fcd4276cfeabae8786ab7c5a421dd674743e
(PostgreSQL)
Rationalize handling of VacuumParams
Melnikov Anton <a.melnikov@postgrespro.ru>
online_analyze.c
patch
|
blob
|
history
diff --git
a/online_analyze.c
b/online_analyze.c
index
0479dbf
..
363a5ae
100644
(file)
--- a/
online_analyze.c
+++ b/
online_analyze.c
@@
-647,7
+647,12
@@
makeAnalyze(Oid relOid, CmdKind operation, int64 naffected)
#if PG_VERSION_NUM < 120000
flags,
#endif
- &vacstmt, NULL, true, GetAccessStrategy(BAS_VACUUM)
+#if PG_VERSION_NUM >= 190000
+ vacstmt,
+#else
+ &vacstmt,
+#endif
+ NULL, true, GetAccessStrategy(BAS_VACUUM)
#endif
);