Skip to content

Commit f9a3d79

Browse files
author
Michael Paquier
committed
Correct some typos and variable placements
1 parent 7eb06cb commit f9a3d79

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

backup.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,9 +746,8 @@ do_backup(pgBackupOption bkupopt)
746746

747747
/* get list of backups already taken */
748748
backup_list = catalog_get_backup_list(NULL);
749-
if(!backup_list){
749+
if (!backup_list)
750750
elog(ERROR_SYSTEM, _("can't process any more."));
751-
}
752751

753752
/* set the error processing function for the backup process */
754753
pgut_atexit_push(backup_cleanup, NULL);

pg_rman.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ static int keep_srvlog_files = KEEP_INFINITE;
3939
static int keep_srvlog_days = KEEP_INFINITE;
4040
static int keep_data_generations = KEEP_INFINITE;
4141
static int keep_data_days = KEEP_INFINITE;
42+
static bool backup_validate = false;
4243

4344
/* restore configuration */
4445
static char *target_time;
4546
static char *target_xid;
4647
static char *target_inclusive;
4748
static TimeLineID target_tli;
48-
static bool is_hard_copy = false;
49-
static bool backup_validate = false;
49+
static bool is_hard_copy = false;
5050

5151
/* show configuration */
5252
static bool show_all = false;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy