mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-27 20:11:59 +02:00
9e7386924e
Per ci.
36 lines
1.0 KiB
C
36 lines
1.0 KiB
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* reconstruct.h
|
|
* Reconstruct full file from incremental file and backup chain.
|
|
*
|
|
* Copyright (c) 2017-2024, PostgreSQL Global Development Group
|
|
*
|
|
* IDENTIFICATION
|
|
* src/bin/pg_combinebackup/reconstruct.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef RECONSTRUCT_H
|
|
#define RECONSTRUCT_H
|
|
|
|
#include "common/checksum_helper.h"
|
|
#include "copy_file.h"
|
|
#include "load_manifest.h"
|
|
|
|
extern 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);
|
|
|
|
#endif
|