From 1cd168360e23671fb1a4e0598a38d85db87de781 Mon Sep 17 00:00:00 2001 From: RealGreenDragon <14246920+RealGreenDragon@users.noreply.github.com> Date: Sun, 7 May 2023 15:43:35 +0200 Subject: [PATCH] Added ALTER SYSTEM permission in docs --- doc/configuration-permissions.xml | 2 ++ doc/repmgrd-automatic-failover.xml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/doc/configuration-permissions.xml b/doc/configuration-permissions.xml index d3977404..0ec715c1 100644 --- a/doc/configuration-permissions.xml +++ b/doc/configuration-permissions.xml @@ -161,6 +161,8 @@ standby_disconnect_on_failover is set to true in repmgr.conf. ALTER SYSTEM can only be executed by a superuser; if the &repmgr; user is not a superuser, this functionality will not be available. + From PostgreSQL 15 ALTER SYSTEM privilege for specific settings can be granted with e.g. + GRANT ALTER SYSTEM ON PARAMETER wal_retrieve_retry_interval TO repmgr. diff --git a/doc/repmgrd-automatic-failover.xml b/doc/repmgrd-automatic-failover.xml index 5c58890b..ce221669 100644 --- a/doc/repmgrd-automatic-failover.xml +++ b/doc/repmgrd-automatic-failover.xml @@ -280,6 +280,8 @@ is available with PostgreSQL 9.5 and later. Additionally this requires that the repmgr database user is a superuser. + From PostgreSQL 15 ALTER SYSTEM privilege for specific settings can be granted with + e.g. GRANT ALTER SYSTEM ON PARAMETER wal_retrieve_retry_interval TO repmgr.