Consistently use "superuser" instead of "super user"
[pgsql.git] / src / include / access / xlogarchive.h
blob3edd1a976c1b48ba38a9778346e04bd49adbb75e
1 /*------------------------------------------------------------------------
3 * xlogarchive.h
4 * Prototypes for WAL archives in the backend
6 * Portions Copyright (c) 1996-2021, 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);
25 extern void KeepFileRestoredFromArchive(const char *path, const char *xlogfname);
26 extern void XLogArchiveNotify(const char *xlog);
27 extern void XLogArchiveNotifySeg(XLogSegNo segno);
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 */