mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Have make_pg_path() output to a PQexpBuffer
Calling functions are all using one anyway, so there's no point keeping static buffers around.
This commit is contained in:
@@ -2733,9 +2733,9 @@ do_node_rejoin(void)
|
||||
}
|
||||
else
|
||||
{
|
||||
appendPQExpBuffer(&command,
|
||||
"%s -D ",
|
||||
make_pg_path("pg_rewind"));
|
||||
make_pg_path(&command, "pg_rewind");
|
||||
appendPQExpBufferStr(&command,
|
||||
" -D ");
|
||||
}
|
||||
|
||||
appendShellString(&command,
|
||||
|
||||
Reference in New Issue
Block a user