From ea36c5dde3f91bf522fd0fedba96fe0bf8376f19 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Fri, 13 May 2022 14:25:02 +0900 Subject: [PATCH] doc: clarify permissions requirements in "standby switchover" --- doc/repmgr-standby-switchover.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/repmgr-standby-switchover.xml b/doc/repmgr-standby-switchover.xml index 8ae00435..90deb15c 100644 --- a/doc/repmgr-standby-switchover.xml +++ b/doc/repmgr-standby-switchover.xml @@ -64,6 +64,13 @@ User permission requirements + data_directory + + &repmgr; needs to be able to determine the location of the data directory on the + demotion candidate. If the &repmgr; is not a superuser or member of the pg_read_all_settings + predefined roles, + the name of a superuser should be provided with the / option. + CHECKPOINT &repmgr; executes CHECKPOINT on the demotion candidate as part of the shutdown @@ -72,7 +79,7 @@ Note that CHECKPOINT requires database superuser permissions to execute. If the repmgr user is not a superuser, the name of a superuser should be - provided with the /. + provided with the / option. If &repmgr; is unable to execute the CHECKPOINT command, the switchover