Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdf631eb

Browse files
committed
Fix documentation for the privileges required for replication functions.
Previously it's documented that use of replication functions isrestricted to superusers. This is true for the functions whichuse replication origin, but not for pg_logicl_emit_message() andfunctions which use replication slot. For example, not onlysuperusers but also users with REPLICATION privilege is allowedto use the functions for replication slot. This commit fixesthe documentation for the privileges required for those replicationfunctions.Back-patch to 9.4 (all supported versions).Author: Matsumura RyoDiscussion:https://postgr.es/m/03040DFF97E6E54E88D3BFEE5F5480F74ABA6E16@G01JPEXMBYT04
1 parentadd85ea commitdf631eb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 4 additions & 2 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp