pg_roles
Columns
The following columns are available for querying in pg_roles:
| Column | Type | Description |
|---|---|---|
|
|
Role name |
|
|
Whether the role has superuser privileges |
|
|
Whether the role inherits privileges of roles it is a member of |
|
|
Whether the role can create other roles |
|
|
Whether the role can create databases |
|
|
Whether the role can log in |
|
|
Whether the role has replication privileges |
|
|
Connection limit for the role ( |
|
|
Password (masked as |
|
|
Password expiration time (NULL if no expiration) |
|
|
Whether the role bypasses row-level security policies |
|
|
Session defaults for this role |
|
|
Object identifier for the role |