From c480d01f9c85695a5b1609cf1b5ebefe14325b51 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 15 Dec 2020 08:41:46 +0900 Subject: [PATCH] Improve HINT about upgrading the repmgr extension Per feedback in GitHub #685. --- repmgr-client.c | 2 +- repmgrd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/repmgr-client.c b/repmgr-client.c index 8ee32e1d..fce75f4f 100644 --- a/repmgr-client.c +++ b/repmgr-client.c @@ -2770,7 +2770,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(_("update the installed extension version by executing \"ALTER EXTENSION repmgr UPDATE\"")); + log_hint(_("update the installed extension version by executing \"ALTER EXTENSION repmgr UPDATE\" in the repmgr database")); return false; case REPMGR_INSTALLED: diff --git a/repmgrd.c b/repmgrd.c index ec185fe8..59b04a81 100644 --- a/repmgrd.c +++ b/repmgrd.c @@ -418,7 +418,7 @@ main(int argc, char **argv) REPMGR_VERSION, REPMGR_EXTENSION_VERSION, extversions.installed_version); - log_hint(_("update the installed extension version by executing \"ALTER EXTENSION repmgr UPDATE\"")); + log_hint(_("update the installed extension version by executing \"ALTER EXTENSION repmgr UPDATE\" in the repmgr database")); close_connection(&local_conn); exit(ERR_BAD_CONFIG);