Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit04ff6f8

Browse files
committed
Inherit WAL mode from the PAGE backup
1 parenta50ffed commit04ff6f8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎src/merge.c‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,9 @@ merge_backups(pgBackup *to_backup, pgBackup *from_backup)
288288
to_backup->end_time=time(NULL);
289289

290290
/*
291-
* If one of the backups isn't "stream" backup then the target backup become
292-
* non-stream backup too.
291+
* Target backup must inherit wal mode too.
293292
*/
294-
to_backup->stream=to_backup->stream&&from_backup->stream;
293+
to_backup->stream=from_backup->stream;
295294
/* Compute summary of size of regular files in the backup */
296295
to_backup->data_bytes=0;
297296
for (i=0;i<parray_num(files);i++)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp