mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
standby switchover: standardize log message
This commit is contained in:
@@ -4052,11 +4052,13 @@ do_standby_switchover(void)
|
|||||||
|
|
||||||
if (parse_data_directory_config(command_output.data) == false)
|
if (parse_data_directory_config(command_output.data) == false)
|
||||||
{
|
{
|
||||||
log_error(_("\"data_directory\" parameter in repmgr.conf on \"%s\" is incorrectly configured"),
|
log_error(_("\"data_directory\" parameter in \"repmgr.conf\" on \"%s\" (ID: %i) is incorrectly configured"),
|
||||||
remote_node_record.node_name);
|
remote_node_record.node_name,
|
||||||
|
remote_node_record.node_id);
|
||||||
|
|
||||||
log_hint(_("execute \"repmgr node check --data-directory-config\" on \"%s\" to diagnose the issue"),
|
log_hint(_("execute \"repmgr node check --data-directory-config\" on \"%s\" (ID: %i) to diagnose the issue"),
|
||||||
remote_node_record.node_name);
|
remote_node_record.node_name,
|
||||||
|
remote_node_record.node_id);
|
||||||
|
|
||||||
PQfinish(remote_conn);
|
PQfinish(remote_conn);
|
||||||
PQfinish(local_conn);
|
PQfinish(local_conn);
|
||||||
|
|||||||
Reference in New Issue
Block a user