1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-03-03 15:42:18 +02:00

Assign end_time in MERGE

This commit is contained in:
Konstantin Knizhnik 2019-02-28 18:45:52 +03:00
parent 7a34dbe5f8
commit e554d265a5

View File

@ -280,6 +280,8 @@ merge_backups(pgBackup *to_backup, pgBackup *from_backup)
to_backup->stop_lsn = from_backup->stop_lsn;
to_backup->recovery_time = from_backup->recovery_time;
to_backup->recovery_xid = from_backup->recovery_xid;
to_backup->end_time = time(NULL);
/*
* If one of the backups isn't "stream" backup then the target backup become
* non-stream backup too.