本文翻译自:postgres: upgrade a user to be a superuser?
In postgres, how do I change an existing user to be a superuser? 在postgres中,如何将现有用户更改为超级用户? I don't want to delete the existing user, for various reasons. 出于各种原因,我不想删除现有用户。
# alter user myuser ...?
#1楼
参考:https://stackoom.com/question/j8Ux/postgres-升级用户成为超级用户
#2楼
ALTER USER myuser WITH SUPERUSER;
#3楼
To expand on the above and make a quick reference: 要扩展以上内容并快速参考&#x