diff options
author | Bruce Momjian <bruce@momjian.us> | 2023-11-03 09:51:53 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2023-11-03 09:51:53 -0400 |
commit | 36c32af79e8034bf6da9c2d70ec427eb3b8a7556 (patch) | |
tree | d94e2d25d6dd2caf81abb587af449f8e9f69cbe9 | |
parent | 47c0f00cf90f58402c4fa9d9d605ca2fe8132687 (diff) | |
download | postgresql-36c32af79e8034bf6da9c2d70ec427eb3b8a7556.tar.gz postgresql-36c32af79e8034bf6da9c2d70ec427eb3b8a7556.zip |
doc: ALTER DEFAULT PRIVILEGES does not affect inherited roles
Reported-by: Jordi GutiƩrrez Hermoso
Discussion: https://postgr.es/m/72652d72e1816bfc3c05d40f9e0e0373d07823c8.camel@octave.org
Co-authored-by: Laurenz Albe
Backpatch-through: 11
-rw-r--r-- | doc/src/sgml/ref/alter_default_privileges.sgml | 6 |
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 f1d54f5aa35..8a6006188d3 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> |