mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 17:06:29 +00:00
Only display -c/--fast-checkpoint hint when using pg_basebackup
This commit is contained in:
9
repmgr.c
9
repmgr.c
@@ -1498,9 +1498,14 @@ do_standby_clone(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
log_notice(_("starting backup...\n"));
|
if (runtime_options.rsync_only)
|
||||||
if (runtime_options.fast_checkpoint == false)
|
|
||||||
{
|
{
|
||||||
|
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"));
|
log_hint(_("this may take some time; consider using the -c/--fast-checkpoint option\n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user