PostgreSQL Source Code  git master
archive.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * archive.h
4  * Routines to access WAL archives from frontend
5  *
6  * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
7  * Portions Copyright (c) 1994, Regents of the University of California
8  *
9  * src/include/fe_utils/archive.h
10  *
11  *-------------------------------------------------------------------------
12  */
13 #ifndef FE_ARCHIVE_H
14 #define FE_ARCHIVE_H
15 
16 extern int RestoreArchivedFile(const char *path,
17  const char *xlogfname,
18  off_t expectedSize,
19  const char *restoreCommand);
20 
21 #endif /* FE_ARCHIVE_H */
int RestoreArchivedFile(const char *path, const char *xlogfname, off_t expectedSize, const char *restoreCommand)
Definition: archive.c:39