On Tue, Sep 08, 2020 at 01:25:21PM -0400, James Coleman wrote:
> Álvaro's patch confused the current state of this thread, so I'm
> reattaching (rebased) v2 as v3.
+ <para>
+ <command>CREATE INDEX</command> (including the <literal>CONCURRENTLY</literal>
+ option) commands are included when <command>VACUUM</command> calculates what
+ dead tuples are safe to remove even on tables other than the one being indexed.
+ </para>
FWIW, this is true as well for REINDEX CONCURRENTLY because both use
the same code paths for index builds and validation, with basically
the same waiting phases. But is CREATE INDEX the correct place for
that? Wouldn't it be better to tell about such things on the VACUUM
doc?
0001 sounds fine to me.
--
Michael