postgres.git / summary / log / commit / refs

commit    f1f537cb46299d81abb08258fd322f72170dff58
Author:   Peter Eisentraut <peter_e@gmx.net>
Date:     Wed Apr 11 13:01:57 2018 +0000
First released in: 11.0, 10.4

    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>


doc/src/sgml/logical-replication.sgml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/logical-replication.sgml b/doc/src/sgml/logical-replication.sgml index 151e773fc2c..16ba9c40811 100644 --- a/doc/src/sgml/logical-replication.sgml +++ b/doc/src/sgml/logical-replication.sgml @@ -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> [parent: 036ca6f7bb18]