From 1628bfb8464f6c3a83028406f65cfa15a0f08116 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 23 Apr 2020 11:42:13 +0900 Subject: [PATCH] Update references to "recovery.conf" in _do_create_replication_conf() --- repmgr-action-standby.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/repmgr-action-standby.c b/repmgr-action-standby.c index d0f72fdc..b7040a16 100644 --- a/repmgr-action-standby.c +++ b/repmgr-action-standby.c @@ -989,14 +989,15 @@ check_barman_config(void) /* * _do_create_replication_conf() * - * Create recovery.conf for a previously cloned instance. + * Create replication configuration for a previously cloned instance. * * Prerequisites: * - * - data directory must be provided + * - data directory must be provided, either explicitly or via + * repmgr.conf * - the instance should not be running * - an existing "recovery.conf" file can only be overwritten with - * -F/--force + * -F/--force (Pg11 and earlier) * - connection parameters for an existing, running node must be provided * - --upstream-node-id, if provided, will be "primary_conninfo", * otherwise primary node id; node must exist; unless -F/--force @@ -1171,7 +1172,7 @@ _do_create_replication_conf(void) } else { - log_hint(_("standby must be registered before a new recovery.conf file can be created")); + log_hint(_("standby must be registered before replication can be configured")); } exit(ERR_BAD_CONFIG);