Report progress of streaming base backup.
Fujii Masao <fujii@postgresql.org>
Report progress of streaming base backup. This commit adds pg_stat_progress_basebackup view that reports the progress while an application like pg_basebackup is taking a base backup. This uses the progress reporting infrastructure added by c16dc1aca5e0, adding support for streaming base backup. Bump catversion. Author: Fujii Masao Reviewed-by: Kyotaro Horiguchi, Amit Langote, Sergei Kornilov Discussion: https://postgr.es/m/9ed8b801-8215-1f3d-62d7-65bff53f6e94@oss.nttdata.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/monitoring.sgml | modified | +162 −1 |
| doc/src/sgml/protocol.sgml | modified | +1 −1 |
| doc/src/sgml/ref/pg_basebackup.sgml | modified | +16 −0 |
| src/backend/access/transam/xlog.c | modified | +13 −0 |
| src/backend/catalog/system_views.sql | modified | +16 −0 |
| src/backend/replication/basebackup.c | modified | +97 −2 |
| src/backend/utils/adt/pgstatfuncs.c | modified | +2 −0 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/commands/progress.h | modified | +14 −0 |
| src/include/pgstat.h | modified | +2 −1 |
| src/test/regress/expected/rules.out | modified | +15 −0 |
Documentation touched
Discussion
- pg_stat_progress_basebackup - progress reporting for pg_basebackup, in the server side 69 messages · 2020-01-29 → 2020-03-24