mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Add missing space when setting "application_name"
This commit is contained in:
2
repmgr.c
2
repmgr.c
@@ -5183,7 +5183,7 @@ write_primary_conninfo(char *line, PGconn *primary_conn)
|
||||
|
||||
/* `application_name` not provided - default to repmgr node name */
|
||||
if (application_name_provided == false)
|
||||
appendPQExpBuffer(&conninfo_buf, "application_name=%s", options.node_name);
|
||||
appendPQExpBuffer(&conninfo_buf, " application_name=%s", options.node_name);
|
||||
|
||||
maxlen_snprintf(line, "primary_conninfo = '%s'\n", conninfo_buf.data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user