From d998cab3d0d29d9e77e77e6d51001e074208653e 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/repmgr-standby-promote.xml b/doc/repmgr-standby-promote.xml index c0de020b..b7faf5f7 100644 --- a/doc/repmgr-standby-promote.xml +++ b/doc/repmgr-standby-promote.xml @@ -121,6 +121,10 @@ 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. + For more details on pg_promote(), see the