]> begriffs open source - ai-pg/blob - full-docs/txt/view-pg-roles.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / view-pg-roles.txt
1
2 53.21. pg_roles #
3
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
6    the password field.
7
8    Table 53.21. pg_roles Columns
9
10    Column Type
11
12    Description
13
14    rolname name
15
16    Role name
17
18    rolsuper bool
19
20    Role has superuser privileges
21
22    rolinherit bool
23
24    Role automatically inherits privileges of roles it is a member of
25
26    rolcreaterole bool
27
28    Role can create more roles
29
30    rolcreatedb bool
31
32    Role can create databases
33
34    rolcanlogin bool
35
36    Role can log in. That is, this role can be given as the initial session
37    authorization identifier
38
39    rolreplication bool
40
41    Role is a replication role. A replication role can initiate replication
42    connections and create and drop replication slots.
43
44    rolconnlimit int4
45
46    For roles that can log in, this sets maximum number of concurrent
47    connections this role can make. -1 means no limit.
48
49    rolpassword text
50
51    Not the password (always reads as ********)
52
53    rolvaliduntil timestamptz
54
55    Password expiry time (only used for password authentication); null if
56    no expiration
57
58    rolbypassrls bool
59
60    Role bypasses every row-level security policy, see Section 5.9 for more
61    information.
62
63    rolconfig text[]
64
65    Role-specific defaults for run-time configuration variables
66
67    oid oid (references pg_authid.oid)
68
69    ID of role