From 19289bc3007ca7c65ad041fa9c2f6d8ae53e9342 Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Wed, 15 Dec 2021 00:31:54 +0300 Subject: [PATCH] add pgproee support --- online_analyze.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/online_analyze.c b/online_analyze.c index 8660a34..6ffcc30 100644 --- 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 */ -- 2.46.1