postgres.git / summary / log / commit / refs

commit    93e60b9494672ee49bbba8b485ef9d3c76fe3a20
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 fa0bb56b7bf..83795f036a6 100644 --- a/doc/src/sgml/logical-replication.sgml +++ b/doc/src/sgml/logical-replication.sgml @@ -486,7 +486,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: 02ba72ec1cf5]