]> granicus.if.org Git - postgresql/commitdiff
doc: Add more information about logical replication privileges
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 11 Apr 2018 13:01:57 +0000 (09:01 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 11 Apr 2018 13:01:57 +0000 (09:01 -0400)
In particular, the requirement to have SELECT privilege for the initial
table copy was previously not documented.

Author: Shinoda, Noriyoshi <noriyoshi.shinoda@hpe.com>

doc/src/sgml/logical-replication.sgml

index 151e773fc2cc8c9b55ef84135f252508d8098cf6..16ba9c408119c392e831b594d884da5fc3b4c0b1 100644 (file)
   <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>