doc: add note about granting permissions on pg_promote()

This commit is contained in:
Ian Barwick
2020-04-02 11:32:02 +09:00
parent 7f460c88bf
commit d998cab3d0

View File

@@ -121,6 +121,10 @@
<programlisting>
GRANT EXECUTE ON FUNCTION pg_catalog.pg_promote TO repmgr</programlisting>
</para>
<para>
Note that permissions are only effective for the database they are granted in, so
this <emphasis>must</emphasis> be executed in the &repmgr; database to be effective.
</para>
</tip>
<para>
For more details on <function>pg_promote()</function>, see the