8000 doc: Add more information about logical replication privileges · MSPawanRanjith/postgres@93e60b9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 93e60b9

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 02ba72e commit 93e60b9

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
@@ -486,7 +486,14 @@
486486
<para>
487487
The role used for the replication connection must have
488488
the <literal>REPLICATION</literal> attribute (or be a superuser). Access for the role must be
489-
configured in <filename>pg_hba.conf</filename>.
489+
configured in <filename>pg_hba.conf</filename> and it must have the
490+
<literal>LOGIN</literal> attribute.
491+
</para>
492+
493+
<para>
494+
In order to be able to copy the initial table data, the role used for the
495+
replication connection must have the <literal>SELECT</literal> privilege on
496+
a published table (or be a superuser).
490497
</para>
491498

492499
<para>

0 commit comments

Comments
 (0)
0