mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 08:06: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:
|
case NO_UPSTREAM_NODE:
|
||||||
maxlen_snprintf(where_condition, "type='master'");
|
maxlen_snprintf(where_condition, "type='master'");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
maxlen_snprintf(where_condition, "id=%d", options.upstream_node);
|
maxlen_snprintf(where_condition, "id=%d", options.upstream_node);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
initPQExpBuffer(&command_output);
|
initPQExpBuffer(&command_output);
|
||||||
|
|||||||
Reference in New Issue
Block a user