From 4d8176ab6058914925a33c6988a2371853a219eb Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Mon, 25 Sep 2017 11:49:38 +0900 Subject: [PATCH] Fix version number check --- repmgr-action-standby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgr-action-standby.c b/repmgr-action-standby.c index 5c9724d4..d76f28bd 100644 --- a/repmgr-action-standby.c +++ b/repmgr-action-standby.c @@ -3617,7 +3617,7 @@ initialise_direct_clone(t_node_info *node_record) if (config_file_options.tablespace_mapping.head != NULL) { - if (server_version_num < 90400) + if (source_server_version_num < 90400) { log_error(_("tablespace mapping not supported in PostgreSQL 9.3, ignoring")); }