Ensure replication slots can be dropped by a replication-only user

If the repmgr user is a non-superuser, and a replication-only user exists,
ensure redundant replication slots are dropped correctly.
This commit is contained in:
Ian Barwick
2022-05-16 16:35:50 +09:00
parent cce5ca2245
commit a90d1cf3dd
5 changed files with 133 additions and 76 deletions

View File

@@ -61,6 +61,12 @@
&repmgr; is a superuser before attempting to disable the WAL receiver.
</para>
</listitem>
<listitem>
<para>
If the &repmgr; user is a non-superuser, and a replication-only user exists,
ensure redundant replication slots are dropped correctly.
</para>
</listitem>
</itemizedlist>
</para>
</sect2>