Skip to content

Commit a00fdaf

Browse files
committed
Use exclusive backup for PTRACK backups
1 parent e85e459 commit a00fdaf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backup.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,8 @@ check_server_version(void)
910910
server_version % 100, "9.6");
911911

912912
/* Do exclusive backup only for PostgreSQL 9.5 */
913-
exclusive_backup = server_version < 90600;
913+
exclusive_backup = server_version < 90600 ||
914+
current.backup_mode == BACKUP_MODE_DIFF_PTRACK;
914915

915916
/* Save server_version to use it in future */
916917
res = pgut_execute(backup_conn, "show server_version", 0, NULL);

0 commit comments

Comments
 (0)