node service: enable provision of the -S/--superuser option

This is required to be able to execute a CHECKPOINT if the normal
repmgr user is not a superuser.
This commit is contained in:
Ian Barwick
2020-03-24 17:24:10 +09:00
parent 304c1391cc
commit 2b06f2d1ae
3 changed files with 51 additions and 2 deletions

View File

@@ -75,8 +75,22 @@
<para>
Issue a <command>CHECKPOINT</command> before stopping or restarting the node.
</para>
<para>
Note that a superuser connection is required to be able to execute the
<command>CHECKPOINT</command> command.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-S</option>/<option>--superuser</option></term>
<listitem>
<para>
Connect as the named superuser instead of the normal &repmgr; user.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>