From: Bruce Momjian Date: Fri, 3 Nov 2023 13:51:52 +0000 (-0400) Subject: doc: ALTER DEFAULT PRIVILEGES does not affect inherited roles X-Git-Tag: REL_11_22~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=272db03bb9d5fbf55cfe39776973dae72cb4bec7;p=thirdparty%2Fpostgresql.git 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 --- diff --git a/doc/src/sgml/ref/alter_default_privileges.sgml b/doc/src/sgml/ref/alter_default_privileges.sgml index 4a4878c4380..a2849c8c770 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 ] The name of an existing role of which the current role is a member. - If FOR ROLE is omitted, the current role is assumed. + Default access privileges are not inherited, so member roles + must use SET ROLE to access these privileges, + or ALTER DEFAULT PRIVILEGES must be run for + each member role. If FOR ROLE is omitted, + the current role is assumed.