Re: Problems using PostgreSQL command line tools - Mailing list pgsql-novice

From Bruce Momjian
Subject Re: Problems using PostgreSQL command line tools
Date
Msg-id 200604090329.k393Tfd08718@candle.pha.pa.us
Whole thread Raw
In response to Re: Problems using PostgreSQL command line tools  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
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. +

pgsql-novice by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: How to append records into a file which has serial
Next
From: Bruce Momjian
Date:
Subject: Re: PostgreSQL a slow DB?