Re: whats the deal with -u ? - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: whats the deal with -u ?
Date
Msg-id 871w9vo2id.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: whats the deal with -u ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: whats the deal with -u ?
List pgsql-hackers
"Tom Lane" <tgl@sss.pgh.pa.us> writes:

> I don't remember why it's deprecated.  

The manual explains it:

-u
   Forces psql to prompt for the user name and password before connecting to   the database.
   This option is deprecated, as it is conceptually flawed. (Prompting for a   non-default user name and prompting for
apassword because the server   requires it are really two different things.) You are encouraged to look   at the -U and
-Woptions instead.
 


--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com Ask me about EnterpriseDB's 24x7 Postgres support!


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Release Note Changes
Next
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: The E.