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:
ea3669a
)
add pgproee support
author
Teodor Sigaev
<teodor@sigaev.ru>
Tue, 14 Dec 2021 21:31:54 +0000
(
00:31
+0300)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Tue, 14 Dec 2021 21:31:54 +0000
(
00:31
+0300)
online_analyze.c
patch
|
blob
|
history
diff --git
a/online_analyze.c
b/online_analyze.c
index
8660a34
..
6ffcc30
100644
(file)
--- a/
online_analyze.c
+++ b/
online_analyze.c
@@
-558,6
+558,11
@@
makeAnalyze(Oid relOid, CmdKind operation, int64 naffected)
TimestampTz startStamp, endStamp;
int flags;
+#ifdef PGPRO_EE
+ /* ATX is not compatible with online_analyze */
+ if (getNestLevelATX() != 0)
+ return;
+#endif
memset(&startStamp, 0, sizeof(startStamp)); /* keep compiler quiet */