From 93e60b9494672ee49bbba8b485ef9d3c76fe3a20 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 11 Apr 2018 09:01:57 -0400 Subject: [PATCH] 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 --- 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 fa0bb56b7b..83795f036a 100644 --- a/doc/src/sgml/logical-replication.sgml +++ b/doc/src/sgml/logical-replication.sgml @@ -486,7 +486,14 @@ The role used for the replication connection must have the REPLICATION attribute (or be a superuser). Access for the role must be - configured in pg_hba.conf. + configured in pg_hba.conf and it must have the + LOGIN attribute. + + + + In order to be able to copy the initial table data, the role used for the + replication connection must have the SELECT privilege on + a published table (or be a superuser). -- 2.40.0