mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 17:06:29 +00:00
Add warning if -r used with -c
This commit is contained in:
5
repmgr.c
5
repmgr.c
@@ -3717,7 +3717,10 @@ check_parameters_for_action(const int action)
|
|||||||
{
|
{
|
||||||
error_list_append(&cli_errors, _("master database username (-U/--username) required when executing STANDBY CLONE"));
|
error_list_append(&cli_errors, _("master database username (-U/--username) required when executing STANDBY CLONE"));
|
||||||
}
|
}
|
||||||
|
if (runtime_options.fast_checkpoint && runtime_options.rsync_only)
|
||||||
|
{
|
||||||
|
error_list_append(&cli_warnings, _("-c/--fast-checkpoint has no effect when using -r/--rsync-only "));
|
||||||
|
}
|
||||||
config_file_required = false;
|
config_file_required = false;
|
||||||
break;
|
break;
|
||||||
case STANDBY_SWITCHOVER:
|
case STANDBY_SWITCHOVER:
|
||||||
|
|||||||
Reference in New Issue
Block a user