$ psql postgres
postgres=# \dn
        List of schemas
        Name        |  Owner
--------------------+----------
 information_schema | postgres
 pg_catalog         | postgres
 pg_toast           | postgres
 pg_toast_temp_1    | postgres
 public             | student
(5 rows)
Run Code Online (Sandbox Code Playgroud)
当我使用用户postgres登录psql时,它显示schema public由用户student拥有.但是,当我与用户学生登录psql时:
$ psql student
student=> \dn
        List of schemas
        Name        |  Owner
--------------------+----------
 information_schema | postgres
 pg_catalog         | postgres
 pg_toast           | postgres
 pg_toast_temp_1    | postgres
 public             | postgres
(5 rows)
Run Code Online (Sandbox Code Playgroud)
它表明schema public由用户postgres拥有.
如果具有此权限的用户认为已经完成,那么如何将模式公共所有权转让给用户学生?