summaryrefslogtreecommitdiffstats
path: root/src/include/common/archive.h
blob: 95196772c95c917d2d5db54863237ed693e9bb53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*-------------------------------------------------------------------------
 *
 * archive.h
 *	  Common WAL archive routines
 *
 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * src/include/common/archive.h
 *
 *-------------------------------------------------------------------------
 */
#ifndef ARCHIVE_H
#define ARCHIVE_H

extern char *BuildRestoreCommand(const char *restoreCommand,
								 const char *xlogpath,	/* %p */
								 const char *xlogfname, /* %f */
								 const char *lastRestartPointFname);	/* %r */

#endif							/* ARCHIVE_H */