我有两个用户Jason
和postgres
. 因为我刚开始学习这个,我不知道为什么这段代码不起作用。我想做的就是放弃一个用户,但我也做不到。我的代码有什么问题?
postgres=# DROP OWNED BY Jason;
ERROR: role "jason" does not exist
postgres=# \du
List of roles
Role name | Attributes | Member of
-----------+------------------------------------------------+-----------
Jason | Superuser, Create role, Create DB, Replication | {}
postgres | Superuser, Create role, Create DB, Replication | {}