From 73cb3abd4401246289b44774e3efb6607e3252c8 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Fri, 13 May 2022 13:47:09 +0900 Subject: [PATCH] doc: clarify permissions requirements in "standby clone" --- doc/repmgr-standby-clone.xml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/repmgr-standby-clone.xml b/doc/repmgr-standby-clone.xml index 464816eb..eac75971 100644 --- a/doc/repmgr-standby-clone.xml +++ b/doc/repmgr-standby-clone.xml @@ -332,6 +332,12 @@ pg_basebackup_options='--waldir=/path/to/wal-directory' node to the same path on the standby (default) or to the PostgreSQL data directory. + + Note that to be able to use this option, the &repmgr; user must be a superuser or + member of the pg_read_all_settings predefined role. + If this is not the case, provide a valid superuser with the + / option. + @@ -402,8 +408,12 @@ pg_basebackup_options='--waldir=/path/to/wal-directory' / - If the &repmgr; user is not a superuser, the name of a valid superuser must - be provided with this option. + The name of a valid PostgreSQL superuser can be provided with this option. + + + This is only required if the was provided + and the &repmgr; user is not a superuser or member of the pg_read_all_settings + predefined role.