mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 07:06:30 +00:00
Only display -c/--fast-checkpoint hint when using pg_basebackup
This commit is contained in:
11
repmgr.c
11
repmgr.c
@@ -1498,10 +1498,15 @@ do_standby_clone(void)
|
||||
}
|
||||
}
|
||||
|
||||
log_notice(_("starting backup...\n"));
|
||||
if (runtime_options.fast_checkpoint == false)
|
||||
if (runtime_options.rsync_only)
|
||||
{
|
||||
log_hint(_("this may take some time; consider using the -c/--fast-checkpoint option\n"));
|
||||
log_notice(_("starting backup (using rsync)...\n"));
|
||||
}
|
||||
else
|
||||
{
|
||||
log_notice(_("starting backup (using pg_basebackup)...\n"));
|
||||
if (runtime_options.fast_checkpoint == false)
|
||||
log_hint(_("this may take some time; consider using the -c/--fast-checkpoint option\n"));
|
||||
}
|
||||
|
||||
if (runtime_options.rsync_only)
|
||||
|
||||
Reference in New Issue
Block a user