PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
astreamer * | astreamer_recovery_injector_new (astreamer *next, bool is_recovery_guc_supported, PQExpBuffer recoveryconfcontents) |
void | astreamer_inject_file (astreamer *streamer, char *pathname, char *data, int len) |
void astreamer_inject_file | ( | astreamer * | streamer, |
char * | pathname, | ||
char * | data, | ||
int | len | ||
) |
Definition at line 219 of file astreamer_inject.c.
References astreamer_content(), ASTREAMER_MEMBER_CONTENTS, ASTREAMER_MEMBER_HEADER, ASTREAMER_MEMBER_TRAILER, data, astreamer_member::gid, astreamer_member::is_directory, astreamer_member::is_link, len, astreamer_member::linktarget, MAXPGPATH, astreamer_member::mode, astreamer_member::pathname, pg_file_create_mode, astreamer_member::size, strlcpy(), and astreamer_member::uid.
Referenced by astreamer_recovery_injector_content(), ReceiveArchiveStream(), and ReceiveTarFile().
astreamer* astreamer_recovery_injector_new | ( | astreamer * | next, |
bool | is_recovery_guc_supported, | ||
PQExpBuffer | recoveryconfcontents | ||
) |
Definition at line 65 of file astreamer_inject.c.
References astreamer_recovery_injector_ops, astreamer_recovery_injector::base, astreamer::bbs_next, astreamer::bbs_ops, astreamer_recovery_injector::is_recovery_guc_supported, next, palloc0(), astreamer_recovery_injector::recoveryconfcontents, and recoveryconfcontents.
Referenced by CreateBackupStreamer().