I have lost/forgotten the postgres password for my installation so I did the following.I edited pg_hba.conf and
added anentry: local all all trustrestarted postgresql. loged in as postgres (psql template1 -U postgres) change
thepostgres password withALTER ROLE postgres PASSWORD fooI edited pg_hba.conf and get rid of the
added linerestartedpostgreswhen I attempted to reenter with psql template1 -U postgres --passwordI get an
errorPeer authentication failed for user "postgres"Not sure what I did wrong, any help would be
appreciated.