mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 08:56:29 +00:00
Minor log output tweak
This commit is contained in:
@@ -1815,7 +1815,7 @@ do_standby_follow_internal(PGconn *primary_conn, t_node_info *primary_node_recor
|
|||||||
/* Set the replication user from the primary node record */
|
/* Set the replication user from the primary node record */
|
||||||
param_set(&recovery_conninfo, "user", primary_node_record->repluser);
|
param_set(&recovery_conninfo, "user", primary_node_record->repluser);
|
||||||
|
|
||||||
log_info(_("changing node %i's primary to node %i"),
|
log_info(_("setting node %i's primary to node %i"),
|
||||||
config_file_options.node_id, primary_node_record->node_id);
|
config_file_options.node_id, primary_node_record->node_id);
|
||||||
|
|
||||||
if (!create_recovery_file(&local_node_record, &recovery_conninfo, config_file_options.data_directory))
|
if (!create_recovery_file(&local_node_record, &recovery_conninfo, config_file_options.data_directory))
|
||||||
@@ -1824,9 +1824,9 @@ do_standby_follow_internal(PGconn *primary_conn, t_node_info *primary_node_recor
|
|||||||
exit(ERR_BAD_CONFIG);
|
exit(ERR_BAD_CONFIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* start/restart the service */
|
/*
|
||||||
|
* start/restart the service
|
||||||
/* XXX here check if service is running!! if not, start */
|
*/
|
||||||
|
|
||||||
{
|
{
|
||||||
char server_command[MAXLEN] = "";
|
char server_command[MAXLEN] = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user