Andrea <andrea(dot)b73(at)email(dot)it> writes:
> C:\>psql -h localhost -U postgres -d postgres
> psql: FATAL: password authentication failed for user "postgres"
> In practice, psql doesn't ask me the password and fails immediately!
I don't pay a lot of attention to Windows-specific problems, but I seem
to recall some recent patches involving the behavior of password
prompting on Windows. You might check the list archives for the past
month or so to see if your results match up with what was discussed.
regards, tom lane