mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2026-06-21 01:34:15 +02:00
bugfix: full backup, produced by merge of multi-timeline chain, now correctly inherits timeline ID of destination backup
This commit is contained in:
@@ -690,6 +690,8 @@ merge_chain(parray *parent_chain, pgBackup *full_backup, pgBackup *dest_backup)
|
||||
full_backup->stop_lsn = dest_backup->stop_lsn;
|
||||
full_backup->recovery_time = dest_backup->recovery_time;
|
||||
full_backup->recovery_xid = dest_backup->recovery_xid;
|
||||
full_backup->tli = dest_backup->tli;
|
||||
full_backup->from_replica = dest_backup->from_replica;
|
||||
|
||||
pfree(full_backup->external_dir_str);
|
||||
full_backup->external_dir_str = pgut_strdup(dest_backup->external_dir_str);
|
||||
|
||||
Reference in New Issue
Block a user