PostgreSQL Source Code  git master
archive.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * archive.h
4  * Common WAL archive routines
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/common/archive.h
10  *
11  *-------------------------------------------------------------------------
12  */
13 #ifndef ARCHIVE_H
14 #define ARCHIVE_H
15 
16 extern char *BuildRestoreCommand(const char *restoreCommand,
17  const char *xlogpath, /* %p */
18  const char *xlogfname, /* %f */
19  const char *lastRestartPointFname); /* %r */
20 
21 #endif /* ARCHIVE_H */
char * BuildRestoreCommand(const char *restoreCommand, const char *xlogpath, const char *xlogfname, const char *lastRestartPointFname)
Definition: archive.c:39