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 1c87d61 commit c47af35Copy full SHA for c47af35
backup.c
@@ -432,14 +432,14 @@ do_backup(void)
432
433
elog(LOG, "Backup destination is initialized");
434
435
+ /* set the error processing function for the backup process */
436
+ pgut_atexit_push(backup_cleanup, NULL);
437
+
438
/* get list of backups already taken */
439
backup_list = catalog_get_backup_list(INVALID_BACKUP_ID);
440
if (backup_list == NULL)
441
elog(ERROR, "Failed to get backup list.");
442
- /* set the error processing function for the backup process */
- pgut_atexit_push(backup_cleanup, NULL);
-
443
/* backup data */
444
do_backup_database(backup_list);
445
pgut_atexit_pop(backup_cleanup, NULL);
0 commit comments