9.3 9.4 9.5 9.6 10 11 12 13
阿里云PostgreSQL 问题报告 纠错本页面

34.35. role_routine_grants

视图role_routine_grants标出所有在函数上赋予或被赋予当前角色的权限。 更多的信息可以在routine_privileges里找到。在该视图与routine_privileges 之间实际仅有的差异是该视图忽略那些通过赋权给PUBLIC使当前用户可以访问的函数。

表 34-33. role_routine_grants 字段

名字数据类型描述
grantorsql_identifier被赋予该权限的角色名称
granteesql_identifier被赋予此权限的角色的名称
specific_catalogsql_identifier包含此函数的数据库名称(总是当前数据库)
specific_schemasql_identifier包含此函数的模式名称
specific_namesql_identifier 函数的"specific name"(具体的名称)。 参阅第 34.40 节获取更多信息。
routine_catalogsql_identifier包含此函数的数据库名称(总是当前数据库)
routine_schemasql_identifier包含此函数的模式名称
routine_namesql_identifier函数的名称(可能重复,因为有重载)
privilege_typecharacter_data总是EXECUTE(函数的唯一的权限类型)
is_grantableyes_or_no如果权限可以赋予,那么是YES,否则为NO
<
/BODY >