Added ALTER SYSTEM permission in docs

This commit is contained in:
RealGreenDragon
2023-05-07 15:43:35 +02:00
committed by Martín Marqués
parent e8aa3aced7
commit 1cd168360e
2 changed files with 4 additions and 0 deletions

View File

@@ -161,6 +161,8 @@
<varname>standby_disconnect_on_failover</varname> is set to <literal>true</literal> in
<filename>repmgr.conf</filename>. <command>ALTER SYSTEM</command> 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.
<command>GRANT ALTER SYSTEM ON PARAMETER wal_retrieve_retry_interval TO repmgr</command>.
</simpara>
</listitem>
</itemizedlist>

View File

@@ -280,6 +280,8 @@
<para>
<option>standby_disconnect_on_failover</option> is available with PostgreSQL 9.5 and later.
Additionally this requires that the <literal>repmgr</literal> database user is a superuser.
From PostgreSQL 15 ALTER SYSTEM privilege for specific settings can be granted with
e.g. <command>GRANT ALTER SYSTEM ON PARAMETER wal_retrieve_retry_interval TO repmgr</command>.
</para>
</note>
<para>