blob: 8e33a8a95a024ba776e91ea9db3f52e003a78e4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*-------------------------------------------------------------------------
*
* 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 "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,
bool debug,
bool dry_run);
#endif
|