Unable to connect using PSQL - fails to prompt for a password - Mailing list pgsql-hackers-win32

From Eric Comeau
Subject Unable to connect using PSQL - fails to prompt for a password
Date
Msg-id 9C0444F6AB6A1B4A83C644B71585A7DF1118F8@ottas27.ott.signiant.com
Whole thread Raw
List pgsql-hackers-win32
Using "psql", my problem is after my initial connection, the psql utility
no longer prompts for a password and fails to log in. The initial attempt
successfully prompted for the password and connected to the database. This
has occurred on two different installations.

I downloaded the Pginstaller beta release and installed PostgreSQL fine on my
Windows 2000 workstation sp4 desktop. Using the pgAdmin III
GUI and I can successfully create users and databases.

psql -U postgres ecomeau
psql: FATAL:  Password authentication failed for user "postgres"

psql --version
psql (PostgreSQL) 8.0.0beta1

I have tried changing the pg_hba.conf to "trust" for local connections but this had no effect.

pgsql-hackers-win32 by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: New release of pginstaller
Next
From: "Laurent Ballester"
Date:
Subject: Re: Contrib modules on Win32