From: Teodor Sigaev Date: Fri, 25 Jan 2019 10:54:44 +0000 (+0300) Subject: let analyze runs with NOWAIT option, it prevents self-deadlock in corner cases X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=0fc639d422ff69603d618cf421365367050b2d0a;p=online_analyze.git let analyze runs with NOWAIT option, it prevents self-deadlock in corner cases --- diff --git a/online_analyze.c b/online_analyze.c index 77c1f8b..90f261c 100644 --- 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 );