psql: no chance to enter password in certain situations

From: Christoph Becker <cgbecker(at)gmx(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: psql: no chance to enter password in certain situations
Date: 2005-01-12 23:02:37
Message-ID: 41E5AC8D.6010905@gmx.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers-win32

OS ist Windows XP Prof, PgSQL version is rc5 via windowsinstaller
When trying to restore a db, psql does not ask for the password but
responds imediately with an erromessage as in the following example:

F:\doka\bak>psql -U postgres template1 < pg_dump_all_2005-01-11.txt
Password:
psql: FATAL: password authentication failed for user "postgres"

However, in the following situation the password can still be entered as
expected :

F:\doka\bak>psql -U postgres template1
Password:
Welcome to psql 8.0.0rc5, the PostgreSQL interactive terminal.
......

Regards
Christoph Becker

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Christoph Becker 2005-01-12 23:03:01 Re: rc4 and rc3, some deleted, but still needed text in the
Previous Message Kanu Patel 2005-01-12 20:12:38 BUG #1392: could not select filter an entry from copied data table

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message John R Pierce 2005-01-12 23:32:06 Re: psql: no chance to enter password in certain situations
Previous Message Jamie Deppeler 2005-01-12 05:41:17 cvs details