1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-09 14:45:47 +02:00

Correct some typos and variable placements

This commit is contained in:
Michael Paquier 2014-01-17 22:46:39 +09:00
parent 7eb06cbc64
commit f9a3d799af
2 changed files with 3 additions and 4 deletions

View File

@ -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);

View File

@ -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;