我想撤消所有列权限。
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;