PostgreSQL Source Code: WalWriteMethodOps Struct Reference (original) (raw)
#include <[walmethods.h](walmethods%5F8h%5Fsource.html)>
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.
◆ close
◆ existsfile
bool(* WalWriteMethodOps::existsfile) (WalWriteMethod *wwmethod, const char *pathname)
◆ finish
◆ free
◆ get_file_name
char *(* WalWriteMethodOps::get_file_name) (WalWriteMethod *wwmethod, const char *pathname, const char *temp_suffix)
◆ get_file_size
ssize_t(* WalWriteMethodOps::get_file_size) (WalWriteMethod *wwmethod, const char *pathname)
◆ open_for_write
Walfile *(* WalWriteMethodOps::open_for_write) (WalWriteMethod *wwmethod, const char *pathname, const char *temp_suffix, size_t pad_to_size)
◆ sync
int(* WalWriteMethodOps::sync) (Walfile *f)
◆ write
ssize_t(* WalWriteMethodOps::write) (Walfile *f, const void *buf, size_t count)
The documentation for this struct was generated from the following file:
- src/bin/pg_basebackup/walmethods.h