PostgreSQL Source Code git master
|
#include "postgres_fe.h"
#include <unistd.h>
#include <sys/stat.h>
#include "access/xlog_internal.h"
#include "common/archive.h"
#include "common/logging.h"
#include "fe_utils/archive.h"
Go to the source code of this file.
Functions | |
int | RestoreArchivedFile (const char *path, const char *xlogfname, off_t expectedSize, const char *restoreCommand) |
int RestoreArchivedFile | ( | const char * | path, |
const char * | xlogfname, | ||
off_t | expectedSize, | ||
const char * | restoreCommand | ||
) |
Definition at line 39 of file archive.c.
References BuildRestoreCommand(), fflush(), MAXPGPATH, pfree(), PG_BINARY, pg_fatal, pg_log_error, snprintf, stat::st_size, stat, wait_result_is_any_signal(), wait_result_to_str(), and XLOGDIR.