From: Teodor Sigaev Date: Thu, 2 Apr 2026 11:41:26 +0000 (+0300) Subject: Use VacuumParams by value. X-Git-Url: http://www.sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=3c8eb75e1be207cfff3f736318bf368722ac810c;p=online_analyze.git Use VacuumParams by value. Caused by: - 2252fcd4276cfeabae8786ab7c5a421dd674743e (PostgreSQL) Rationalize handling of VacuumParams Melnikov Anton --- diff --git a/online_analyze.c b/online_analyze.c index 0479dbf..363a5ae 100644 --- a/online_analyze.c +++ b/online_analyze.c @@ -647,7 +647,12 @@ makeAnalyze(Oid relOid, CmdKind operation, int64 naffected) #if PG_VERSION_NUM < 120000 flags, #endif - &vacstmt, NULL, true, GetAccessStrategy(BAS_VACUUM) +#if PG_VERSION_NUM >= 190000 + vacstmt, +#else + &vacstmt, +#endif + NULL, true, GetAccessStrategy(BAS_VACUUM) #endif );