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.