pg_list_roles
List database roles with their login, superuser, createdb, createrole attributes and inherited memberships to identify who has access to the database.
Instructions
List database roles (users and groups) with their login/superuser/createdb/createrole attributes and inherited role memberships. Use this to answer 'who has access to this database?' without needing to read pg_authid directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeSystem | No | If true, include built-in `pg_*` roles (pg_read_all_data, pg_monitor, etc.). |