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.
31k questions
32.8k answers
501 comments
693 users