mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
Avoid to show what segments are needed for this backup if the rsync failed
This commit is contained in:
6
repmgr.c
6
repmgr.c
@@ -1066,8 +1066,10 @@ stop_backup:
|
|||||||
}
|
}
|
||||||
last_wal_segment = PQgetvalue(res, 0, 0);
|
last_wal_segment = PQgetvalue(res, 0, 0);
|
||||||
|
|
||||||
log_info(_("%s requires primary to keep WAL files %s until at least %s\n"),
|
/* don't show this message if rsync failed */
|
||||||
progname, first_wal_segment, last_wal_segment);
|
if (r == 0)
|
||||||
|
log_info(_("%s requires primary to keep WAL files %s until at least %s\n"),
|
||||||
|
progname, first_wal_segment, last_wal_segment);
|
||||||
|
|
||||||
/* Finished with the database connection now */
|
/* Finished with the database connection now */
|
||||||
PQclear(res);
|
PQclear(res);
|
||||||
|
|||||||
Reference in New Issue
Block a user