Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit df631eb

Browse files
committed
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
1 parent add85ea commit df631eb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/src/sgml/func.sgml

+4-2
Original file line numberDiff line numberDiff line change
@@ -20337,8 +20337,10 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
2033720337
See <xref linkend="streaming-replication"/>,
2033820338
<xref linkend="streaming-replication-slots"/>, and
2033920339
<xref linkend="replication-origins"/>
20340-
for information about the underlying features. Use of these
20341-
functions is restricted to superusers.
20340+
for information about the underlying features.
20341+
Use of functions for replication origin is restricted to superusers.
20342+
Use of functions for replication slot is restricted to superusers
20343+
and users having <literal>REPLICATION</literal> privilege.
2034220344
</para>
2034320345

2034420346
<para>

0 commit comments

Comments
 (0)