How to restore the privileges of the user postgres in PostgreSQL?
If you edit your pg_hba.conf to allow login as one of the other superusers, then you can login as one of those and then alter role postgres superuser.