PostgreSQL Source Code
git master
|
#include <walmethods.h>
Data Fields | |
Walfile *(* | open_for_write )(WalWriteMethod *wwmethod, const char *pathname, const char *temp_suffix, size_t pad_to_size) |
int(* | close )(Walfile *f, WalCloseMethod method) |
bool(* | existsfile )(WalWriteMethod *wwmethod, const char *pathname) |
ssize_t(* | get_file_size )(WalWriteMethod *wwmethod, const char *pathname) |
char *(* | get_file_name )(WalWriteMethod *wwmethod, const char *pathname, const char *temp_suffix) |
ssize_t(* | write )(Walfile *f, const void *buf, size_t count) |
int(* | sync )(Walfile *f) |
bool(* | finish )(WalWriteMethod *wwmethod) |
void(* | free )(WalWriteMethod *wwmethod) |
Definition at line 41 of file walmethods.h.
int(* WalWriteMethodOps::close) (Walfile *f, WalCloseMethod method) |
Definition at line 55 of file walmethods.h.
Referenced by close_walfile(), mark_file_as_archived(), open_walfile(), ReceiveXlogStream(), and writeTimeLineHistoryFile().
bool(* WalWriteMethodOps::existsfile) (WalWriteMethod *wwmethod, const char *pathname) |
Definition at line 58 of file walmethods.h.
Referenced by existsTimeLineHistoryFile(), and open_walfile().
bool(* WalWriteMethodOps::finish) (WalWriteMethod *wwmethod) |
Definition at line 86 of file walmethods.h.
Referenced by LogStreamerMain(), and StreamLog().
void(* WalWriteMethodOps::free) (WalWriteMethod *wwmethod) |
Definition at line 92 of file walmethods.h.
Referenced by LogStreamerMain(), and StreamLog().
char*(* WalWriteMethodOps::get_file_name) (WalWriteMethod *wwmethod, const char *pathname, const char *temp_suffix) |
Definition at line 67 of file walmethods.h.
Referenced by close_walfile(), and open_walfile().
ssize_t(* WalWriteMethodOps::get_file_size) (WalWriteMethod *wwmethod, const char *pathname) |
Definition at line 61 of file walmethods.h.
Referenced by open_walfile().
Walfile*(* WalWriteMethodOps::open_for_write) (WalWriteMethod *wwmethod, const char *pathname, const char *temp_suffix, size_t pad_to_size) |
Definition at line 49 of file walmethods.h.
Referenced by mark_file_as_archived(), open_walfile(), and writeTimeLineHistoryFile().
int(* WalWriteMethodOps::sync) (Walfile *f) |
Definition at line 78 of file walmethods.h.
Referenced by HandleCopyStream(), open_walfile(), and ProcessKeepaliveMsg().
Definition at line 73 of file walmethods.h.
Referenced by ProcessXLogDataMsg(), and writeTimeLineHistoryFile().