mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2026-06-21 01:34:15 +02:00
Use exclusive backup for PTRACK backups
This commit is contained in:
+2
-1
@@ -910,7 +910,8 @@ check_server_version(void)
|
||||
server_version % 100, "9.6");
|
||||
|
||||
/* Do exclusive backup only for PostgreSQL 9.5 */
|
||||
exclusive_backup = server_version < 90600;
|
||||
exclusive_backup = server_version < 90600 ||
|
||||
current.backup_mode == BACKUP_MODE_DIFF_PTRACK;
|
||||
|
||||
/* Save server_version to use it in future */
|
||||
res = pgut_execute(backup_conn, "show server_version", 0, NULL);
|
||||
|
||||
Reference in New Issue
Block a user