> Can't the progress data trivially be inferred by the fact that the worker
> completed?
Yes, at some point, this idea was experimented with in
0004-Expose-progress-for-the-vacuuming-indexes-cleanup-ph.patch.
This patch did the calculation in system_views.sql
However, the view is complex and there could be some edge
cases with inferring the values that lead to wrong values being reported.
Regards,
Sami Imseih
Amazon Web Services