psql password prompt - Mailing list pgsql-hackers

From Alvaro Herrera
Subject psql password prompt
Date
Msg-id 20020823010100.09bfffa4.alvherre@atentus.com
Whole thread Raw
Responses Re: psql password prompt  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

The current prompt in psql for password is merely

Password:

which is Ok when one is using psql interactively as one know exactly
which username and database server is specified.  However, when using it
for programs like vacuumdb, createuser, createdb, clusterdb etc is not
immediately obvious which (whose?) password it is asking.

Is there a reason not to change it to something like
username@host:port Password:
?

It's a trivial change and I can send a patch if people agree.

-- 
Alvaro Herrera (<alvherre[a]atentus.com>)
A male gynecologist is like an auto mechanic who never owned a car.
- Carrie Snow


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Proposed GUC Variable
Next
From: Tom Lane
Date:
Subject: Re: psql password prompt