We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d1f680 commit 4e68bacCopy full SHA for 4e68bac
src/catalog.c
@@ -219,8 +219,7 @@ read_backup(time_t timestamp)
219
/*
220
* Save the backup status into BACKUP_CONTROL_FILE.
221
*
222
- * We need to reread the backup using its ID and save it changing only its
223
- * status.
+ * We need to reread the backup using its ID and save it changing only its status.
224
*/
225
void
226
write_backup_status(pgBackup *backup)
@@ -230,7 +229,7 @@ write_backup_status(pgBackup *backup)
230
229
tmp = read_backup(backup->start_time);
231
tmp->status = backup->status;
232
233
-
+ write_backup(tmp);
234
pgBackupFree(tmp);
235
}
236
0 commit comments