PostgreSQL Source Code
git master
|
#include <walmethods.h>
Data Fields | |
Walfile(* | open_for_write )(const char *pathname, const char *temp_suffix, size_t pad_to_size) |
int(* | close )(Walfile f, WalCloseMethod method) |
bool(* | existsfile )(const char *pathname) |
ssize_t(* | get_file_size )(const char *pathname) |
char *(* | get_file_name )(const char *pathname, const char *temp_suffix) |
pg_compress_algorithm(* | compression_algorithm )(void) |
ssize_t(* | write )(Walfile f, const void *buf, size_t count) |
off_t(* | get_current_pos )(Walfile f) |
int(* | sync )(Walfile f) |
bool(* | finish )(void) |
const char *(* | getlasterror )(void) |
Definition at line 34 of file walmethods.h.
int(* WalWriteMethod::close) (Walfile f, WalCloseMethod method) |
Definition at line 48 of file walmethods.h.
Referenced by close_walfile(), CreateWalDirectoryMethod(), CreateWalTarMethod(), mark_file_as_archived(), open_walfile(), ReceiveXlogStream(), and writeTimeLineHistoryFile().
pg_compress_algorithm(* WalWriteMethod::compression_algorithm) (void) |
Definition at line 63 of file walmethods.h.
Referenced by CreateWalDirectoryMethod(), CreateWalTarMethod(), and open_walfile().
bool(* WalWriteMethod::existsfile) (const char *pathname) |
Definition at line 51 of file walmethods.h.
Referenced by CreateWalDirectoryMethod(), CreateWalTarMethod(), existsTimeLineHistoryFile(), and open_walfile().
bool(* WalWriteMethod::finish) (void) |
Definition at line 85 of file walmethods.h.
Referenced by CreateWalDirectoryMethod(), CreateWalTarMethod(), LogStreamerMain(), and StreamLog().
off_t(* WalWriteMethod::get_current_pos) (Walfile f) |
Definition at line 72 of file walmethods.h.
Referenced by close_walfile(), CreateWalDirectoryMethod(), CreateWalTarMethod(), and ProcessXLogDataMsg().
char*(* WalWriteMethod::get_file_name) (const char *pathname, const char *temp_suffix) |
Definition at line 60 of file walmethods.h.
Referenced by close_walfile(), CreateWalDirectoryMethod(), CreateWalTarMethod(), and open_walfile().
ssize_t(* WalWriteMethod::get_file_size) (const char *pathname) |
Definition at line 54 of file walmethods.h.
Referenced by CreateWalDirectoryMethod(), CreateWalTarMethod(), and open_walfile().
const char*(* WalWriteMethod::getlasterror) (void) |
Definition at line 88 of file walmethods.h.
Referenced by close_walfile(), CreateWalDirectoryMethod(), CreateWalTarMethod(), HandleCopyStream(), mark_file_as_archived(), open_walfile(), ProcessKeepaliveMsg(), ProcessXLogDataMsg(), ReceiveXlogStream(), and writeTimeLineHistoryFile().
Walfile(* WalWriteMethod::open_for_write) (const char *pathname, const char *temp_suffix, size_t pad_to_size) |
Definition at line 42 of file walmethods.h.
Referenced by CreateWalDirectoryMethod(), CreateWalTarMethod(), mark_file_as_archived(), open_walfile(), and writeTimeLineHistoryFile().
int(* WalWriteMethod::sync) (Walfile f) |
Definition at line 77 of file walmethods.h.
Referenced by CreateWalDirectoryMethod(), CreateWalTarMethod(), HandleCopyStream(), open_walfile(), and ProcessKeepaliveMsg().
Definition at line 69 of file walmethods.h.
Referenced by CreateWalDirectoryMethod(), CreateWalTarMethod(), ProcessXLogDataMsg(), and writeTimeLineHistoryFile().