summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2023-11-03 13:51:53 +0000
committerBruce Momjian2023-11-03 13:51:53 +0000
commita8510a7d96b9d0e7f1937801f9340bd02c539b7f (patch)
tree3f858e79d98495bc860e8bc6c7b030e4c60a982b
parent39c959ef25bd9cdd966ee024ab14f8f4214bb276 (diff)
doc: ALTER DEFAULT PRIVILEGES does not affect inherited roles
Reported-by: Jordi GutiĆ©rrez Hermoso Discussion: https://postgr.es/m/[email protected] Co-authored-by: Laurenz Albe Backpatch-through: 11
-rw-r--r--doc/src/sgml/ref/alter_default_privileges.sgml6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/alter_default_privileges.sgml b/doc/src/sgml/ref/alter_default_privileges.sgml
index f1d54f5aa3..8a6006188d 100644
--- a/doc/src/sgml/ref/alter_default_privileges.sgml
+++ b/doc/src/sgml/ref/alter_default_privileges.sgml
@@ -137,7 +137,11 @@ REVOKE [ GRANT OPTION FOR ]
<listitem>
<para>
The name of an existing role of which the current role is a member.
- If <literal>FOR ROLE</literal> is omitted, the current role is assumed.
+ Default access privileges are not inherited, so member roles
+ must use <command>SET ROLE</command> to access these privileges,
+ or <command>ALTER DEFAULT PRIVILEGES</command> must be run for
+ each member role. If <literal>FOR ROLE</literal> is omitted,
+ the current role is assumed.
</para>
</listitem>
</varlistentry>