PostgreSQL Source Code
git master
|
#include "postgres.h"
#include <sys/wait.h>
#include "access/xlog.h"
#include "pgstat.h"
#include "postmaster/pgarch.h"
Go to the source code of this file.
Functions | |
static bool | shell_archive_configured (void) |
static bool | shell_archive_file (const char *file, const char *path) |
void | shell_archive_init (ArchiveModuleCallbacks *cb) |
|
static |
Definition at line 37 of file shell_archive.c.
References XLogArchiveCommand.
Referenced by shell_archive_init().
|
static |
Definition at line 43 of file shell_archive.c.
References DEBUG1, DEBUG3, elog, ereport, errdetail(), errhint(), errmsg(), errmsg_internal(), FATAL, LOG, make_native_path(), MAXPGPATH, pg_strsignal(), pgstat_report_wait_end(), pgstat_report_wait_start(), strlcpy(), WAIT_EVENT_ARCHIVE_COMMAND, wait_result_is_any_signal(), WEXITSTATUS, WIFEXITED, WIFSIGNALED, WTERMSIG, and XLogArchiveCommand.
Referenced by shell_archive_init().
void shell_archive_init | ( | ArchiveModuleCallbacks * | cb | ) |
Definition at line 28 of file shell_archive.c.
References ArchiveModuleCallbacks::archive_file_cb, AssertVariableIsOfType, ArchiveModuleCallbacks::check_configured_cb, shell_archive_configured(), and shell_archive_file().
Referenced by LoadArchiveLibrary().