首页 > 解决方案 > 设置授权选项的方式由角色给出

问题描述

我正在使用postgresql。

我的目标是授予选项应该由角色授予根据推荐文件说我必须删除“公共”受让人

当我输入

SELECT grantee, privilege_type 
FROM information_schema.role_table_grants 
group by grantee, privilege_type;

我得到了我所做的截图。

在此处输入图像描述

总而言之,我想隐藏这两条标记线。或者尽量不在那个查询语句中出现。

我应该怎么办?

ps我已经用过:

revoke update, select on information_schema.role_table_grants from public;

但没有任何改变!

标签: postgresqlgrant

解决方案


推荐阅读