Skip to content

Commit bc250ee

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 46012d1 commit bc250ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/src/sgml/func.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16793,7 +16793,8 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
1679316793
for controlling and interacting with replication features.
1679416794
See <xref linkend="streaming-replication">
1679516795
and <xref linkend="streaming-replication-slots"> for information about the
16796-
underlying features. Use of these functions is restricted to superusers.
16796+
underlying features. Use of these functions is restricted to superusers
16797+
and users having <literal>REPLICATION</literal> privilege.
1679716798
</para>
1679816799

1679916800
<para>

0 commit comments

Comments
 (0)