Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a50ffed commit 04ff6f8Copy full SHA for 04ff6f8
src/merge.c
@@ -288,10 +288,9 @@ merge_backups(pgBackup *to_backup, pgBackup *from_backup)
288
to_backup->end_time = time(NULL);
289
290
/*
291
- * If one of the backups isn't "stream" backup then the target backup become
292
- * non-stream backup too.
+ * Target backup must inherit wal mode too.
293
*/
294
- to_backup->stream = to_backup->stream && from_backup->stream;
+ to_backup->stream = from_backup->stream;
295
/* Compute summary of size of regular files in the backup */
296
to_backup->data_bytes = 0;
297
for (i = 0; i < parray_num(files); i++)
0 commit comments