From 5a9175c740b02f8c8372972d8dc15f06c783911f Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 24 Apr 2019 11:37:31 +0900 Subject: [PATCH] Clarify hints about updating the repmgr extension --- repmgr-client.c | 2 +- repmgrd.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/repmgr-client.c b/repmgr-client.c index 1dadd13f..fca9c0a9 100644 --- a/repmgr-client.c +++ b/repmgr-client.c @@ -2219,7 +2219,7 @@ create_repmgr_extension(PGconn *conn) log_detail(_("version %s is installed but newer version %s is available"), extversions.installed_version, extversions.default_version); - log_hint(_("execute \"ALTER EXTENSION repmgr UPDATE\"")); + log_hint(_("update the installed extension version by executing \"ALTER EXTENSION repmgr UPDATE\"")); return false; case REPMGR_INSTALLED: diff --git a/repmgrd.c b/repmgrd.c index d9673ef7..d55b3ff5 100644 --- a/repmgrd.c +++ b/repmgrd.c @@ -409,8 +409,8 @@ main(int argc, char **argv) log_detail(_("\"repmgr\" version %s is installed but extension is version %s"), REPMGR_VERSION, extversions.installed_version); + log_hint(_("update the repmgr binaries to match the installed extension version")); - log_hint(_("verify the repmgr installation on this server is updated properly before continuing")); close_connection(&local_conn); exit(ERR_BAD_CONFIG); } @@ -421,8 +421,8 @@ main(int argc, char **argv) log_detail(_("\"repmgr\" version %s is installed but extension is version %s"), REPMGR_VERSION, extversions.installed_version); + log_hint(_("update the installed extension version by executing \"ALTER EXTENSION repmgr UPDATE\"")); - log_hint(_("verify the repmgr extension is updated properly before continuing")); close_connection(&local_conn); exit(ERR_BAD_CONFIG); }