Report wait events for local shell commands like archive_command.
Fujii Masao <fujii@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/monitoring.sgml | modified | +21 −1 |
| src/backend/access/transam/xlogarchive.c | modified | +8 −1 |
| src/backend/access/transam/xlog.c | modified | +4 −2 |
| src/backend/postmaster/pgarch.c | modified | +3 −0 |
| src/backend/utils/activity/wait_event.c | modified | +12 −0 |
| src/include/access/xlogarchive.h | modified | +1 −1 |
| src/include/utils/wait_event.h | modified | +4 −0 |
Documentation touched
Discussion
- wait event and archive_command 15 messages · 2021-10-21 → 2021-11-22