49 Walfile *(*open_for_write) (
WalWriteMethod *wwmethod,
const char *pathname,
const char *temp_suffix,
size_t pad_to_size);
67 char *(*get_file_name) (
WalWriteMethod *wwmethod,
const char *pathname,
const char *temp_suffix);
129 int compression_level,
bool sync);
132 int compression_level,
bool sync);
static pg_compress_algorithm compression_algorithm
void(* free)(WalWriteMethod *wwmethod)
bool(* existsfile)(WalWriteMethod *wwmethod, const char *pathname)
ssize_t(* write)(Walfile *f, const void *buf, size_t count)
ssize_t(* get_file_size)(WalWriteMethod *wwmethod, const char *pathname)
int(* close)(Walfile *f, WalCloseMethod method)
bool(* finish)(WalWriteMethod *wwmethod)
const char * lasterrstring
const WalWriteMethodOps * ops
pg_compress_algorithm compression_algorithm
WalWriteMethod * wwmethod
WalWriteMethod * CreateWalDirectoryMethod(const char *basedir, pg_compress_algorithm compression_algorithm, int compression_level, bool sync)
struct WalWriteMethodOps WalWriteMethodOps
WalWriteMethod * CreateWalTarMethod(const char *tarbase, pg_compress_algorithm compression_algorithm, int compression_level, bool sync)
const char * GetLastWalMethodError(WalWriteMethod *wwmethod)