PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
void | reconstruct_from_incremental_file (char *input_filename, char *output_filename, char *relative_path, char *bare_file_name, int n_prior_backups, char **prior_backup_dirs, manifest_data **manifests, char *manifest_path, pg_checksum_type checksum_type, int *checksum_length, uint8 **checksum_payload, CopyMethod copy_method, bool debug, bool dry_run) |
void reconstruct_from_incremental_file | ( | char * | input_filename, |
char * | output_filename, | ||
char * | relative_path, | ||
char * | bare_file_name, | ||
int | n_prior_backups, | ||
char ** | prior_backup_dirs, | ||
manifest_data ** | manifests, | ||
char * | manifest_path, | ||
pg_checksum_type | checksum_type, | ||
int * | checksum_length, | ||
uint8 ** | checksum_payload, | ||
CopyMethod | copy_method, | ||
bool | debug, | ||
bool | dry_run | ||
) |
Definition at line 87 of file reconstruct.c.
References Assert, b, manifest_file::checksum_length, manifest_file::checksum_payload, manifest_file::checksum_type, CHECKSUM_TYPE_NONE, close, copy_file(), debug, debug_reconstruction(), dry_run, rfile::fd, rfile::filename, find_reconstructed_block_length(), fstat, rfile::header_length, i, if(), input_filename, make_incremental_rfile(), make_rfile(), MAXPGPATH, rfile::num_blocks, output_filename, pfree(), pg_checksum_final(), pg_checksum_init(), PG_CHECKSUM_MAX_LENGTH, pg_fatal, pg_free(), pg_log_warning, pg_malloc(), pg_malloc0(), psprintf(), rfile::relative_block_numbers, snprintf, source, stat::st_size, rfile::truncation_block_length, and write_reconstructed_file().
Referenced by process_directory_recursively().