mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 16:16:29 +00:00
doc: clarify database user permission requirements
This commit is contained in:
@@ -7,12 +7,19 @@
|
|||||||
</indexterm>
|
</indexterm>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
&repmgr; will create an extension database containing objects
|
&repmgr; requires that the database defined in the <varname>conninfo</varname>
|
||||||
for administering &repmgr; metadata. The user defined in the <varname>conninfo</varname>
|
setting contains the <literal>repmgr</literal> extension. The database user defined in the
|
||||||
setting must be able to access all objects. Additionally, superuser permissions
|
<varname>conninfo</varname> setting must be able to access this database and
|
||||||
are required to install the &repmgr; extension. The easiest way to do this
|
the database objects contained within the extension.
|
||||||
is create the &repmgr; user as a superuser, however if this is not
|
</para>
|
||||||
desirable, the &repmgr; user can be created as a normal user and a
|
<para>
|
||||||
superuser specified with <literal>--superuser</literal> when registering a &repmgr; node.
|
The <literal>repmgr</literal> extension can only be installed by a superuser.
|
||||||
|
If the &repmgr; user is a superuser, &repmgr; will create the extension automatically.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Alternatively, the extension can be created manually by a superuser
|
||||||
|
(with "<command>CREATE EXTENSION repmgr</command>") before executing
|
||||||
|
<link linkend="repmgr-primary-register">repmgr primary register</link>.
|
||||||
</para>
|
</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|||||||
Reference in New Issue
Block a user