enabled_roles

PostgreSQL 8.0.1 Documentation
Prev | Fast Backward | Chapter 30. The Information Schema | Fast Forward | Next

# 30.17. `enabled_roles`

The view `enabled_roles` identifies all groups that the current user is a member of. (A role is the same thing as a group.) The difference between this view and `applicable_roles` is that in the future there may be a mechanism to enable and disable groups during a session. In that case this view identifies those groups that are currently enabled.

Table 30-15. `enabled_roles` Columns

Name | Data Type | Description
--- | --- | ---
`role_name` | `sql_identifier` | Name of a group

Prev | Home | Next
`element_types` | Up | `key_column_usage`