Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc47af35

Browse files
committed
Initialize backup_cleanup() earlier
1 parent1c87d61 commitc47af35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎backup.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -432,14 +432,14 @@ do_backup(void)
432432

433433
elog(LOG,"Backup destination is initialized");
434434

435+
/* set the error processing function for the backup process */
436+
pgut_atexit_push(backup_cleanup,NULL);
437+
435438
/* get list of backups already taken */
436439
backup_list=catalog_get_backup_list(INVALID_BACKUP_ID);
437440
if (backup_list==NULL)
438441
elog(ERROR,"Failed to get backup list.");
439442

440-
/* set the error processing function for the backup process */
441-
pgut_atexit_push(backup_cleanup,NULL);
442-
443443
/* backup data */
444444
do_backup_database(backup_list);
445445
pgut_atexit_pop(backup_cleanup,NULL);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp