mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 00:26:30 +00:00
"standby clone": improve replication user selection
Use the upstream node's replication user when checking the replication connection.
This commit is contained in:
@@ -2716,7 +2716,7 @@ init_node_record(t_node_info *node_record)
|
||||
|
||||
if (config_file_options.replication_user[0] != '\0')
|
||||
{
|
||||
/* replication user explicitly provided */
|
||||
/* replication user explicitly provided in configuration file */
|
||||
strncpy(node_record->repluser, config_file_options.replication_user, NAMEDATALEN);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user