Revert "Don't truncate database and user names in startup packets."
[pgsql.git] / src / include / access / xlogarchive.h
blob0701475fb40c90a0a5df70c7eac3e6959350f78f
1 /*------------------------------------------------------------------------
3 * xlogarchive.h
4 * Prototypes for WAL archives in the backend
6 * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
9 * IDENTIFICATION
10 * src/include/access/xlogarchive.h
12 *------------------------------------------------------------------------
15 #ifndef XLOG_ARCHIVE_H
16 #define XLOG_ARCHIVE_H
18 #include "access/xlogdefs.h"
20 extern bool RestoreArchivedFile(char *path, const char *xlogfname,
21 const char *recovername, off_t expectedSize,
22 bool cleanupEnabled);
23 extern void ExecuteRecoveryCommand(const char *command, const char *commandName,
24 bool failOnSignal, uint32 wait_event_info);
25 extern void KeepFileRestoredFromArchive(const char *path, const char *xlogfname);
26 extern void XLogArchiveNotify(const char *xlog);
27 extern void XLogArchiveNotifySeg(XLogSegNo segno, TimeLineID tli);
28 extern void XLogArchiveForceDone(const char *xlog);
29 extern bool XLogArchiveCheckDone(const char *xlog);
30 extern bool XLogArchiveIsBusy(const char *xlog);
31 extern bool XLogArchiveIsReady(const char *xlog);
32 extern bool XLogArchiveIsReadyOrDone(const char *xlog);
33 extern void XLogArchiveCleanup(const char *xlog);
35 #endif /* XLOG_ARCHIVE_H */