postgres.git / summary / log / commit / refs
commit bc250ee7ebd0ff3b5bd1674fbf90a90032bad0fa
Author: Fujii Masao <fujii@postgresql.org>
Date: Wed May 08 16:35:13 2019 +0000
First released in: 12.0, 9.4.23, 9.5.18, 9.6.14, 10.9, 11.4
Fix documentation for the privileges required for replication functions.
Previously it's documented that use of replication functions is
restricted to superusers. This is true for the functions which
use replication origin, but not for pg_logicl_emit_message() and
functions which use replication slot. For example, not only
superusers but also users with REPLICATION privilege is allowed
to use the functions for replication slot. This commit fixes
the documentation for the privileges required for those replication
functions.
Back-patch to 9.4 (all supported versions).
Author: Matsumura Ryo
Discussion: https://postgr.es/m/03040DFF97E6E54E88D3BFEE5F5480F74ABA6E16@G01JPEXMBYT04
doc/src/sgml/func.sgml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 377cf62cb69..a73d6d3d01a 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -16793,7 +16793,8 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
for controlling and interacting with replication features.
See <xref linkend="streaming-replication">
and <xref linkend="streaming-replication-slots"> for information about the
- underlying features. Use of these functions is restricted to superusers.
+ underlying features. Use of these functions is restricted to superusers
+ and users having <literal>REPLICATION</literal> privilege.
</para>
<para>
[parent: 46012d152f8d]