我无法删除用户,因为我收到默认权限错误。
postgres=# drop user xyz;
ERROR: role "xyz" cannot be dropped because some objects depend on it
DETAIL: owner of default privileges on new functions belonging to role xyz
然后我检查了数据库中的默认权限,
postgres=# \ddp
Default access privileges
Owner | Schema | Type | Access privileges
---- -+------- +----------+-------
xyz | | function |
你能告诉我如何撤销这个默认权限吗?