Report wait events for local shell commands like archive_command.
authorFujii Masao <[email protected]>
Mon, 22 Nov 2021 01:28:21 +0000 (10:28 +0900)
committerFujii Masao <[email protected]>
Mon, 22 Nov 2021 01:28:21 +0000 (10:28 +0900)
commit1b06d7bac901e5fd20bba597188bae2882bf954b
tree7f1ae9f2dffcb24527a5f8bd62f7d841fd462267
parent97f5aef609ce51422934b7dbdba599a7de4dbafd
Report wait events for local shell commands like archive_command.

This commit introduces new wait events for archive_command,
archive_cleanup_command, restore_command and recovery_end_command.

Author: Fujii Masao
Reviewed-by: Bharath Rupireddy, Michael Paquier
Discussion: https://postgr.es/m/4ca4f920-6b48-638d-08b2-93598356f5d3@oss.nttdata.com
doc/src/sgml/monitoring.sgml
src/backend/access/transam/xlog.c
src/backend/access/transam/xlogarchive.c
src/backend/postmaster/pgarch.c
src/backend/utils/activity/wait_event.c
src/include/access/xlogarchive.h
src/include/utils/wait_event.h