doc: Add more information about logical replication privileges

In particular, the requirement to have SELECT privilege for the initial
table copy was previously not documented.

Author: Shinoda, Noriyoshi <noriyoshi.shinoda@hpe.com>
This commit is contained in:
Peter Eisentraut 2018-04-11 09:01:57 -04:00
parent 036ca6f7bb
commit f1f537cb46
1 changed files with 8 additions and 1 deletions

View File

@ -477,7 +477,14 @@
<para>
The role used for the replication connection must have
the <literal>REPLICATION</literal> attribute (or be a superuser). Access for the role must be
configured in <filename>pg_hba.conf</filename>.
configured in <filename>pg_hba.conf</filename> and it must have the
<literal>LOGIN</literal> attribute.
</para>
<para>
In order to be able to copy the initial table data, the role used for the
replication connection must have the <literal>SELECT</literal> privilege on
a published table (or be a superuser).
</para>
<para>