Add wait events for WAL archive and recovery pause.

Fujii Masao <fujii@postgresql.org>

Commit: b8e20d6dabdafbe905b62910dc0236037c7881e1
Author: Fujii Masao <fujii@postgresql.org>
Date: 2020-03-24T02:12:21Z
Releases: 13.0
Add wait events for WAL archive and recovery pause.

This commit introduces new wait events BackupWaitWalArchive and
RecoveryPause. The former is reported while waiting for the WAL files
required for the backup to be successfully archived. The latter is
reported while waiting for recovery in pause state to be resumed.

Author: Fujii Masao
Reviewed-by: Michael Paquier, Atsushi Torikoshi, Robert Haas
Discussion: https://postgr.es/m/f0651f8c-9c96-9f29-0ff9-80414a15308a@oss.nttdata.com

Files

PathChange+/−
doc/src/sgml/monitoring.sgml modified +9 −1
src/backend/access/transam/xlog.c modified +4 −0
src/backend/postmaster/pgstat.c modified +6 −0
src/include/pgstat.h modified +3 −1

Documentation touched

Discussion