From e2c2302c2f3aaacd68c30603fc0ff33f14f21304 Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Fri, 15 Feb 2019 10:04:11 +0300 Subject: [PATCH] fix windows support --- plantuner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.37.3