diff options
author | Fujii Masao <fujii@postgresql.org> | 2021-11-22 10:28:21 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2021-11-22 10:28:21 +0900 |
commit | 1b06d7bac901e5fd20bba597188bae2882bf954b (patch) | |
tree | 7f1ae9f2dffcb24527a5f8bd62f7d841fd462267 /src/include/access/xlogarchive.h | |
parent | 97f5aef609ce51422934b7dbdba599a7de4dbafd (diff) |
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
Diffstat (limited to 'src/include/access/xlogarchive.h')
-rw-r--r-- | src/include/access/xlogarchive.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/xlogarchive.h b/src/include/access/xlogarchive.h index 7dcf1bd2dd2..9dba1c3fb14 100644 --- a/src/include/access/xlogarchive.h +++ b/src/include/access/xlogarchive.h @@ -21,7 +21,7 @@ extern bool RestoreArchivedFile(char *path, const char *xlogfname, const char *recovername, off_t expectedSize, bool cleanupEnabled); extern void ExecuteRecoveryCommand(const char *command, const char *commandName, - bool failOnSignal); + bool failOnSignal, uint32 wait_event_info); extern void KeepFileRestoredFromArchive(const char *path, const char *xlogfname); extern void XLogArchiveNotify(const char *xlog); extern void XLogArchiveNotifySeg(XLogSegNo segno, TimeLineID tli); |