aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_combinebackup/reconstruct.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_combinebackup/reconstruct.c')
-rw-r--r--src/bin/pg_combinebackup/reconstruct.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/pg_combinebackup/reconstruct.c b/src/bin/pg_combinebackup/reconstruct.c
index 33c6da02a8c..b083c5ce15b 100644
--- a/src/bin/pg_combinebackup/reconstruct.c
+++ b/src/bin/pg_combinebackup/reconstruct.c
@@ -89,6 +89,7 @@ reconstruct_from_incremental_file(char *input_filename,
pg_checksum_type checksum_type,
int *checksum_length,
uint8 **checksum_payload,
+ CopyMethod copy_method,
bool debug,
bool dry_run)
{
@@ -319,7 +320,7 @@ reconstruct_from_incremental_file(char *input_filename,
*/
if (copy_source != NULL)
copy_file(copy_source->filename, output_filename,
- &checksum_ctx, dry_run);
+ &checksum_ctx, copy_method, dry_run);
else
{
write_reconstructed_file(input_filename, output_filename,