> FATAL: password authentication failed for user "postgres"
> But the password is the same that i use to login postgres user in > the terminal. > What could be the problem?
When you say "postgres user in the terminal", do you mean logging in to the operating system? If so, that has nothing to do with the database login unless you choose to make it so by having an "ident" entry in the pg_hba.conf file.