From 4e68bac2f8a80a92bf9f84852d19cb9ed037c61b Mon Sep 17 00:00:00 2001 From: Grigory Smolkin Date: Mon, 15 Oct 2018 20:28:32 +0300 Subject: [PATCH] PGPRO-2073: fix missing write_backup --- src/catalog.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/catalog.c b/src/catalog.c index 8819720b..1f9dae9f 100644 --- a/src/catalog.c +++ b/src/catalog.c @@ -219,8 +219,7 @@ read_backup(time_t timestamp) /* * Save the backup status into BACKUP_CONTROL_FILE. * - * We need to reread the backup using its ID and save it changing only its - * status. + * We need to reread the backup using its ID and save it changing only its status. */ void write_backup_status(pgBackup *backup) @@ -230,7 +229,7 @@ write_backup_status(pgBackup *backup) tmp = read_backup(backup->start_time); tmp->status = backup->status; - + write_backup(tmp); pgBackupFree(tmp); }