PostgreSQL Source Code  git master
reconstruct.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * reconstruct.h
4  * Reconstruct full file from incremental file and backup chain.
5  *
6  * Copyright (c) 2017-2024, PostgreSQL Global Development Group
7  *
8  * IDENTIFICATION
9  * src/bin/pg_combinebackup/reconstruct.h
10  *
11  *-------------------------------------------------------------------------
12  */
13 #ifndef RECONSTRUCT_H
14 #define RECONSTRUCT_H
15 
16 #include "common/checksum_helper.h"
17 #include "copy_file.h"
18 #include "load_manifest.h"
19 
21  char *output_filename,
22  char *relative_path,
23  char *bare_file_name,
24  int n_prior_backups,
25  char **prior_backup_dirs,
26  manifest_data **manifests,
27  char *manifest_path,
28  pg_checksum_type checksum_type,
29  int *checksum_length,
30  uint8 **checksum_payload,
31  CopyMethod copy_method,
32  bool debug,
33  bool dry_run);
34 
35 #endif
unsigned char uint8
Definition: c.h:504
pg_checksum_type
CopyMethod
Definition: copy_file.h:22
char * output_filename
Definition: ecpg.c:23
static bool debug
Definition: initdb.c:161
static bool dry_run
char * input_filename
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: reconstruct.c:87