Skip to content

Commit f1f537c

Browse files
committed
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>
1 parent 036ca6f commit f1f537c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

doc/src/sgml/logical-replication.sgml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,14 @@
477477
<para>
478478
The role used for the replication connection must have
479479
the <literal>REPLICATION</literal> attribute (or be a superuser). Access for the role must be
480-
configured in <filename>pg_hba.conf</filename>.
480+
configured in <filename>pg_hba.conf</filename> and it must have the
481+
<literal>LOGIN</literal> attribute.
482+
</para>
483+
484+
<para>
485+
In order to be able to copy the initial table data, the role used for the
486+
replication connection must have the <literal>SELECT</literal> privilege on
487+
a published table (or be a superuser).
481488
</para>
482489

483490
<para>

0 commit comments

Comments
 (0)