doc: add missing role attributes to user management section
authorBruce Momjian
Fri, 12 Aug 2022 19:43:23 +0000 (15:43 -0400)
committerBruce Momjian
Fri, 12 Aug 2022 19:43:23 +0000 (15:43 -0400)
Reported-by: Shinya Kato
Discussion: https://postgr.es/m/1ecdb1ff78e9b03dfce37e85eaca725a@oss.nttdata.com

Author: Shinya Kato

Backpatch-through: 10

doc/src/sgml/user-manag.sgml

index 6eaaaa36b881e249fda6675992ddf756477cb434..54cb253d95e11f3118898be840ff0dd4a07760ec 100644 (file)
@@ -236,6 +236,39 @@ CREATE USER name;
        
       
      
+
+     
+      inheritance of privilegesroleprivilege to inherit
+      
+       
+        A role is given permission to inherit the privileges of roles it is a
+        member of, by default. However, to create a role without the permission,
+        use CREATE ROLE name NOINHERIT.
+       
+      
+     
+
+     
+      bypassing row-level securityroleprivilege to bypass
+      
+       
+        A role must be explicitly given permission to bypass every row-level security (RLS) policy
+        (except for superusers, since those bypass all permission checks).
+        To create such a role, use CREATE ROLE name BYPASSRLS as a superuser.
+       
+      
+     
+
+     
+      connection limitroleprivilege to limit connection
+      
+       
+        Connection limit can specify how many concurrent connections a role can make.
+        -1 (the default) means no limit. Specify connection limit upon role creation with
+        CREATE ROLE name CONNECTION LIMIT 'integer'.
+       
+      
+     
     
 
     A role's attributes can be modified after creation with