Direções encontradas:
sudo su postgres
modifique /Library/PostgreSQL/9.2/data/pg_hba.conf
-local all all md5
+local all all trust
reinicie o postgres
/Library/PostgreSQL/9.2/bin/pg_ctl restart -D /Library/PostgreSQL/9.2/data/
Conecte-se ao postgres:
psql
Dentro do psql (
\q
para sair):ALTER USER postgres WITH ENCRYPTED PASSWORD 'password';
modificar pg_hba.conf de volta
+local all all md5
-local all all trust
reinicie o postgres
/Library/PostgreSQL/9.2/bin/pg_ctl restart -D /Library/PostgreSQL/9.2/data/