--绑定数据库权限的,需要切到相关数据库下面执行REASSIGN OWNED BY old_user TO postgres; DROP OWNED BY ole_user; DROP USER old_user;
转:https://www.cnblogs.com/xiaotengyi/p/10132083.html