For future reference you can start the postmaster in single user mode and create a new postgres account or grant the current one superuser access if this happens again. Just google "Postgresql single user mode".
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных