diff --git a/backup.c b/backup.c index 092966dd..6bfe17f5 100644 --- a/backup.c +++ b/backup.c @@ -746,9 +746,8 @@ do_backup(pgBackupOption bkupopt) /* get list of backups already taken */ backup_list = catalog_get_backup_list(NULL); - if(!backup_list){ + if (!backup_list) elog(ERROR_SYSTEM, _("can't process any more.")); - } /* set the error processing function for the backup process */ pgut_atexit_push(backup_cleanup, NULL); diff --git a/pg_rman.c b/pg_rman.c index fa698b32..31c05173 100644 --- a/pg_rman.c +++ b/pg_rman.c @@ -39,14 +39,14 @@ static int keep_srvlog_files = KEEP_INFINITE; static int keep_srvlog_days = KEEP_INFINITE; static int keep_data_generations = KEEP_INFINITE; static int keep_data_days = KEEP_INFINITE; +static bool backup_validate = false; /* restore configuration */ static char *target_time; static char *target_xid; static char *target_inclusive; static TimeLineID target_tli; -static bool is_hard_copy = false; -static bool backup_validate = false; +static bool is_hard_copy = false; /* show configuration */ static bool show_all = false;