help with - psql: FATAL: Password authentication failed for user "gforge" - Mailing list pgsql-novice

From Sukhdeep Johar
Subject help with - psql: FATAL: Password authentication failed for user "gforge"
Date
Msg-id 2ef564dc04122802535f2b22c@mail.gmail.com
Whole thread Raw
List pgsql-novice
I followed these steps to create a new user :
1. createuser -P gforge
2. createdb -U gforge -E UNICODE gforge
3. createlang plpgsql gforge

this gave no errors.
But when I try to log in, I get the foll error
# psql -h localhost -U gforge gforge
psql: FATAL:  Password authentication failed for user "gforge"

Any comments, what may be going wrong ?
--
Neither success nor failure is ever final

pgsql-novice by date:

Previous
From: "Keith Worthington"
Date:
Subject: Calculating the difference between result columns
Next
From: Tom Lane
Date:
Subject: Re: Calculating the difference between result columns