4 The view pg_roles provides access to information about database roles.
5 This is simply a publicly readable view of pg_authid that blanks out
8 Table 53.21. pg_roles Columns
20 Role has superuser privileges
24 Role automatically inherits privileges of roles it is a member of
28 Role can create more roles
32 Role can create databases
36 Role can log in. That is, this role can be given as the initial session
37 authorization identifier
41 Role is a replication role. A replication role can initiate replication
42 connections and create and drop replication slots.
46 For roles that can log in, this sets maximum number of concurrent
47 connections this role can make. -1 means no limit.
51 Not the password (always reads as ********)
53 rolvaliduntil timestamptz
55 Password expiry time (only used for password authentication); null if
60 Role bypasses every row-level security policy, see Section 5.9 for more
65 Role-specific defaults for run-time configuration variables
67 oid oid (references pg_authid.oid)