💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# 34.35\. `role_routine_grants` 视图`role_routine_grants`标出所有在函数上赋予或被赋予当前角色的权限。 更多的信息可以在`routine_privileges`里找到。在该视图与`routine_privileges` 之间实际仅有的差异是该视图忽略那些通过赋权给`PUBLIC`使当前用户可以访问的函数。 **Table 34-33\. `role_routine_grants` 字段** | 名字 | 数据类型 | 描述 | | --- | --- | --- | | `grantor` | `sql_identifier` | 被赋予该权限的角色名称 | | `grantee` | `sql_identifier` | 被赋予此权限的角色的名称 | | `specific_catalog` | `sql_identifier` | 包含此函数的数据库名称(总是当前数据库) | | `specific_schema` | `sql_identifier` | 包含此函数的模式名称 | | `specific_name` | `sql_identifier` | 函数的"specific name"(具体的名称)。 参阅[Section 34.40](#calibre_link-693)获取更多信息。 | | `routine_catalog` | `sql_identifier` | 包含此函数的数据库名称(总是当前数据库) | | `routine_schema` | `sql_identifier` | 包含此函数的模式名称 | | `routine_name` | `sql_identifier` | 函数的名称(可能重复,因为有重载) | | `privilege_type` | `character_data` | 总是`EXECUTE`(函数的唯一的权限类型) | | `is_grantable` | `yes_or_no` | 如果权限可以赋予,那么是`YES`,否则为`NO` |