doc: Mention that partitions_{done,total} is 0 for REINDEX progress reports
authorMichael Paquier <michael@paquier.xyz>
Sat, 20 Feb 2021 01:25:14 +0000 (10:25 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sat, 20 Feb 2021 01:25:14 +0000 (10:25 +0900)
commit17661188336c8cbb1783808912096932c57893a3
tree7ea0e00ff02f4775c630eb3dde1aa346bca7ae25
parenta899ec1cb23eb3c4a94648f18a9408e5316d32a4
doc: Mention that partitions_{done,total} is 0 for REINDEX progress reports

REINDEX has recently gained support for partitions, so it can be
confusing to see those fields not being set.  Making useful reports for
for such relations is more complicated than it looks with the current
set of columns available in pg_stat_progress_create_index, and this
touches equally REINDEX DATABASE/SYSTEM/SCHEMA.  This commit documents
that those two columns are not touched during a REINDEX.

Reported-by: Justin Pryzby
Discussion: https://postgr.es/m/20210216064214.GI28165@telsasoft.com
doc/src/sgml/monitoring.sgml