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

Commit5698515

Browse files
committed
Did not forget some page in full backup. But it is not solution for
ptrack backup. We have big issue.
1 parent3668240 commit5698515

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎backup.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ do_backup_database(parray *backup_list, pgBackupOption bkupopt)
110110
*/
111111
current.tli=get_current_timeline(false);
112112

113+
if (current.backup_mode!=BACKUP_MODE_DIFF_PTRACK)
114+
pg_ptrack_clear();
115+
113116
/*
114117
* In differential backup mode, check if there is an already-validated
115118
* full backup on current timeline.
@@ -314,7 +317,8 @@ do_backup_database(parray *backup_list, pgBackupOption bkupopt)
314317
}
315318

316319
/* Clear ptrack files after backup */
317-
pg_ptrack_clear();
320+
if (current.backup_mode==BACKUP_MODE_DIFF_PTRACK)
321+
pg_ptrack_clear();
318322
/* Notify end of backup */
319323
pg_stop_backup(&current);
320324

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp