From fd29a7ae284c37a3be0368ab1e0174254aa3914a Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 2 Apr 2020 11:32:02 +0900 Subject: [PATCH] doc: add note about granting permissions on pg_promote() --- doc/repmgr-standby-promote.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/repmgr-standby-promote.xml b/doc/repmgr-standby-promote.xml index 72be9595..213b447b 100644 --- a/doc/repmgr-standby-promote.xml +++ b/doc/repmgr-standby-promote.xml @@ -115,7 +115,12 @@ function must be granted with e.g.: GRANT EXECUTE ON FUNCTION pg_catalog.pg_promote TO repmgr - + + + Note that permissions are only effective for the database they are granted in, so + this must be executed in the &repmgr; database to be effective. + + A future &repmgr; release will relax this restriction by falling back to pg_ctl promote, as used for pre-PostgreSQL 12 versions.