Re: BUG #2000: psql does not prompt for password - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: BUG #2000: psql does not prompt for password
Date
Msg-id 200512070458.jB74w2r23736@candle.pha.pa.us
Whole thread Raw
In response to Re: BUG #2000: psql does not prompt for password  ("Mike Grant" <mike.grant@gmail.com>)
Responses Re: BUG #2000: psql does not prompt for password
List pgsql-bugs
Mike  Grant wrote:
> I get the same thing with 8.0.4, on Windows XP Professional.

I am still confused.  I tried 'psql -W test' in the mingw shell window,
and in a 'cmd.exe' window, and both prompted me for a password.  I even
tried a command.com window.

Are you using a Cygwin window perhaps?

---------------------------------------------------------------------------


>
> ~Mike
>
> Bruce Momjian wrote:
> > Todd wrote:
> > >
> > > The following bug has been logged online:
> > >
> > > Bug reference:      2000
> > > Logged by:          Todd
> > > Email address:      tdoolitt@comcast.net
> > > PostgreSQL version: 8.1 Beta 4
> > > Operating system:   Windows Xp home
> > > Description:        psql does not prompt for password
> > > Details:
> > >
> > > psql -U postgres does not prompt for password and responds with...
> > >
> > > psql: FATAL: password authentication failed for user "postgres".
> > >
> > > even when I pass the -W option it doesn't prompt for password and gives me
> > > the error above.  I deleted and recreated my cluster and get the same
> > > result.  I can connect to the database using PgAdmin as user postgres.
> >
> > I have no idea what is causing this, but I have never heard of this
> > problem before.
> >
> > --
> >   Bruce Momjian                        |  http://candle.pha.pa.us
> >   pgman@candle.pha.pa.us               |  (610) 359-1001
> >   +  If your life is a hard drive,     |  13 Roberts Road
> >   +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 5: don't forget to increase your free space map settings
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-bugs by date:

Previous
From: "Golubev, Nickolas USA"
Date:
Subject: Re: BUG #2095: make looping
Next
From: "Yoshihisa Nakano"
Date:
Subject: BUG #2096: bug in a SPI sample document