mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
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 c16dc1aca5
, 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
This commit is contained in:
@ -958,7 +958,8 @@ typedef enum ProgressCommandType
|
||||
PROGRESS_COMMAND_VACUUM,
|
||||
PROGRESS_COMMAND_ANALYZE,
|
||||
PROGRESS_COMMAND_CLUSTER,
|
||||
PROGRESS_COMMAND_CREATE_INDEX
|
||||
PROGRESS_COMMAND_CREATE_INDEX,
|
||||
PROGRESS_COMMAND_BASEBACKUP
|
||||
} ProgressCommandType;
|
||||
|
||||
#define PGSTAT_NUM_PROGRESS_PARAM 20
|
||||
|
Reference in New Issue
Block a user