mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Bug fix
This commit is contained in:
committed by
Ian Barwick
parent
c0eea90402
commit
95de5ef976
2
repmgr.c
2
repmgr.c
@@ -5179,8 +5179,10 @@ create_recovery_file(const char *data_dir, PGconn *primary_conn, const char *con
|
||||
{
|
||||
case NO_UPSTREAM_NODE:
|
||||
maxlen_snprintf(where_condition, "type='master'");
|
||||
break;
|
||||
default:
|
||||
maxlen_snprintf(where_condition, "id=%d", options.upstream_node);
|
||||
break;
|
||||
}
|
||||
|
||||
initPQExpBuffer(&command_output);
|
||||
|
||||
Reference in New Issue
Block a user