SHOW ROLES
Lists all the roles assigned to the current user.
Syntax
SHOW ROLES
Output
The command returns the results in a table with these columns:
Examples
SHOW ROLES;
┌───────────────────────────────────────────────────────┐
│ name │ inherited_roles │ is_current │ is_default │
├───────────┼─────────────────┼────────────┼────────────┤
│ developer │ 0 │ false │ false │
│ public │ 0 │ false │ false │
│ writer │ 0 │ true │ true │
└───────────────────────────────────────────────────────┘