local all postgres peer
Just change above to below line
local all postgres md5
and restart the postgresql service
sudo service postgresql restart