On Mon, Mar 30, 2020 at 12:31 PM Masahiko Sawada
<masahiko(dot)sawada(at)2ndquadrant(dot)com> wrote:
>
> The patch for vacuum conflicts with recent changes in vacuum. So I've
> attached rebased one.
>
+ /*
+ * Next, accumulate buffer usage. (This must wait for the workers to
+ * finish, or we might get incomplete data.)
+ */
+ for (i = 0; i < nworkers; i++)
+ InstrAccumParallelQuery(&lps->buffer_usage[i]);
+
This should be done for launched workers aka
lps->pcxt->nworkers_launched. I think a similar problem exists in
create index related patch.
--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com