mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Fix check when tablespace mapping option used with 9.3
As pointed out by EvilElk (Github issue #91).
This commit is contained in:
2
repmgr.c
2
repmgr.c
@@ -1117,7 +1117,7 @@ do_standby_clone(void)
|
||||
{
|
||||
TablespaceListCell *cell;
|
||||
|
||||
if (get_server_version(upstream_conn, NULL) < 90400)
|
||||
if (get_server_version(upstream_conn, NULL) < 90400 && !runtime_options.rsync_only)
|
||||
{
|
||||
log_err(_("in PostgreSQL 9.3, tablespace mapping can only be used in conjunction with --rsync-only\n"));
|
||||
PQfinish(upstream_conn);
|
||||
|
||||
Reference in New Issue
Block a user