Back
In Postgres, how do I change an existing user to be a superuser? I don't want to delete the existing user, for various reasons.
# alter user myuser ...?
Try this code:
ALTER USER my_user WITH SUPERUSER;
For detailed information, you can directly refer to
Docs.
30.9k questions
32.9k answers
500 comments
665 users