Tom Lane wrote:
> Andrea <andrea.b73@email.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.
The issue is if you have a \dev on your current drive, opening /dev/tty
works when it shouldn't. This will be fixed in 8.1.4 when it is
released.
--
Bruce Momjian http://candle.pha.pa.us
+ If your life is a hard drive, Christ can be your backup. +