pg_list_roles
List database roles with login, superuser, createdb, createrole attributes and inherited memberships. Use it to see who has access to a database without reading pg_authid directly.
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.). |