I have been using PostgreSQL for a couple of days and it has been working fine. I have been using it through both the default postgres database user as well as another user with permissions.
In the middle of the day today (after everything had been working fine) it stopped working and I could no longer get back into the database. I would try: psql
and it would come up with psql: FATAL: role "postgres" does not exist
.
Similarly, if I tried from my other user, psql -d postgres
it would come up with psql: FATAL: role "otheruser" does not exist
. (Note that I have a database named postgres and it has been working up until now).
UPDATE
It appears that one of the computers accessing the server crashed and may have somehow deleted all of the users of the database. I will try a fresh reinstall.