From: Teodor Sigaev Date: Fri, 15 Feb 2019 07:04:11 +0000 (+0300) Subject: fix windows support X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=e2c2302c2f3aaacd68c30603fc0ff33f14f21304;p=plantuner.git fix windows support --- diff --git a/plantuner.c b/plantuner.c index afec4bf..9f0c771 100644 --- a/plantuner.c +++ b/plantuner.c @@ -83,7 +83,7 @@ indexesAssign(const char * newval, bool doit, GucSource source, bool isDisable) * accsess to system catalog */ if (MyBackendId == InvalidBackendId || !IsUnderPostmaster || - !IsNormalProcessingMode() || !IsTransactionState()) + MyAuxProcType != NotAnAuxProcess || !IsTransactionState()) { /* reset init state */ if (isDisable)