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:
590e24c
)
let analyze runs with NOWAIT option, it prevents self-deadlock in corner cases
author
Teodor Sigaev
<teodor@sigaev.ru>
Fri, 25 Jan 2019 10:54:44 +0000
(13:54 +0300)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Fri, 25 Jan 2019 10:54:44 +0000
(13:54 +0300)
online_analyze.c
patch
|
blob
|
history
diff --git
a/online_analyze.c
b/online_analyze.c
index
77c1f8b
..
90f261c
100644
(file)
--- a/
online_analyze.c
+++ b/
online_analyze.c
@@
-556,7
+556,7
@@
makeAnalyze(Oid relOid, CmdKind operation, int64 naffected)
#endif
#else
makeRangeVarFromOid(relOid),
- VACOPT_ANALYZE | ((online_analyze_verbose) ? VACOPT_VERBOSE : 0),
+ VACOPT_ANALYZE |
VACOPT_NOWAIT |
((online_analyze_verbose) ? VACOPT_VERBOSE : 0),
&vacstmt, NULL, true, GetAccessStrategy(BAS_VACUUM)
#endif
);