Improve HINT about upgrading the repmgr extension

Per feedback in GitHub #685.
This commit is contained in:
Ian Barwick
2020-12-15 08:41:46 +09:00
parent 8ce212327c
commit 45a9a784e3
2 changed files with 2 additions and 2 deletions

View File

@@ -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:

View File

@@ -416,7 +416,7 @@ 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(_("update the installed extension version by executing \"ALTER EXTENSION repmgr UPDATE\" in the repmgr database"));
close_connection(&local_conn);
exit(ERR_BAD_CONFIG);