1

我想撤销所有列权限。

SELECT * FROM information_schema.column_privileges where grantee='PUBLIC' and privilege_type='UPDATE';

我想返回空的上述 sql。

我试图从 postgres 和公共用户撤消所有表和数据库,但没有任何改变。喜欢这些 sql 命令;

REVOKE ALL PRIVILEGES ON SCHEMA information_schema FROM postgres;

REVOKE ALL PRIVILEGES ON SCHEMA information_schema FROM public;

revoke all privileges on table information_schema from public;

REVOKE ALL PRIVILEGES ON DATABASE "db_name" FROM public;
4

0 回答 0