pg删除账号、权限

--绑定数据库权限的,需要切到相关数据库下面执行
REASSIGN OWNED BY old_user TO postgres; DROP OWNED BY ole_user; DROP USER old_user;

转:https://www.cnblogs.com/xiaotengyi/p/10132083.html

posted @ 2019-12-30 16:27  小泉哥  阅读(429)  评论(0编辑  收藏  举报