Re: progress reporting for partitioned REINDEX

Justin Pryzby <pryzby@telsasoft.com>

From: Justin Pryzby <pryzby@telsasoft.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Matthias van de Meent <boekewurm+postgres@gmail.com>, pgsql-hackers@lists.postgresql.org, Anastasia Lubennikova <a.lubennikova@postgrespro.ru>, Alvaro Herrera <alvherre@2ndquadrant.com>
Date: 2021-02-19T06:12:54Z
Lists: pgsql-hackers
On Fri, Feb 19, 2021 at 03:06:04PM +0900, Michael Paquier wrote:
> On Thu, Feb 18, 2021 at 02:17:00PM +0900, Michael Paquier wrote:
> > I have no issues with documenting more precisely on which commands
> > partitions_total and partitions_done apply currently, by citing the
> > commands where these are effective.  We do that for index_relid for
> > instance.
> 
> Please find attached a patch to do that.  Justin, what do you think?

Looks fine.

I removed this from opened items.

Also, I noticed that vacuum recurses into partition heirarchies since v10, but
pg_stat_progress_vacuum also doesn't show anything about the parent table or
the progress of recursing through the hierarchy.

-- 
Justin



Commits

  1. doc: Mention that partitions_{done,total} is 0 for REINDEX progress reports