mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
tablespace_dirs -> tablespace_mapping
For consistency with the parameter name.
This commit is contained in:
8
repmgr.c
8
repmgr.c
@@ -951,7 +951,7 @@ do_standby_clone(void)
|
||||
* currently we can't handle that and will fail with an error
|
||||
*/
|
||||
|
||||
if(options.tablespace_dirs.head != NULL)
|
||||
if(options.tablespace_mapping.head != NULL)
|
||||
{
|
||||
if(get_server_version(primary_conn, NULL) < 90400)
|
||||
{
|
||||
@@ -961,7 +961,7 @@ do_standby_clone(void)
|
||||
exit(ERR_BAD_CONFIG);
|
||||
}
|
||||
|
||||
for (cell = options.tablespace_dirs.head; cell; cell = cell->next)
|
||||
for (cell = options.tablespace_mapping.head; cell; cell = cell->next)
|
||||
{
|
||||
|
||||
sqlquery_snprintf(sqlquery,
|
||||
@@ -2160,9 +2160,9 @@ run_basebackup()
|
||||
if(strlen(runtime_options.dest_dir))
|
||||
appendPQExpBuffer(¶ms, " -D %s", runtime_options.dest_dir);
|
||||
|
||||
if(options.tablespace_dirs.head != NULL)
|
||||
if(options.tablespace_mapping.head != NULL)
|
||||
{
|
||||
for (cell = options.tablespace_dirs.head; cell; cell = cell->next)
|
||||
for (cell = options.tablespace_mapping.head; cell; cell = cell->next)
|
||||
{
|
||||
appendPQExpBuffer(¶ms, " -T %s=%s", cell->old_dir, cell->new_dir);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user