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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy