From 4c9cca64d0b2c63369d13e6448e4003df1867593 Mon Sep 17 00:00:00 2001 From: RealGreenDragon <14246920+RealGreenDragon@users.noreply.github.com> Date: Mon, 8 May 2023 19:16:55 +0200 Subject: [PATCH] Fixed standby_disconnect_on_failover docs --- doc/configuration-permissions.xml | 4 ++-- doc/repmgrd-automatic-failover.xml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/configuration-permissions.xml b/doc/configuration-permissions.xml index 0ec715c1..f84e3fcf 100644 --- a/doc/configuration-permissions.xml +++ b/doc/configuration-permissions.xml @@ -159,9 +159,9 @@ The ALTER SYSTEM is executed by &repmgrd; if standby_disconnect_on_failover is set to true in - repmgr.conf. ALTER SYSTEM can only be executed by + repmgr.conf. Until PostgreSQL 14 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. + From PostgreSQL 15 a specific ALTER SYSTEM privilege 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 ce221669..2f793e77 100644 --- a/doc/repmgrd-automatic-failover.xml +++ b/doc/repmgrd-automatic-failover.xml @@ -279,9 +279,9 @@ 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. + Until PostgreSQL 14 this requires that the repmgr database user is a superuser. + From PostgreSQL 15 a specific ALTER SYSTEM privilege can be granted to the repmgr database + user with e.g. GRANT ALTER SYSTEM ON PARAMETER wal_retrieve_retry_interval TO repmgr.