Re: whats the deal with -u ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: whats the deal with -u ?
Дата
Msg-id 22844.1197245975@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: whats the deal with -u ?  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: whats the deal with -u ?  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> "Tom Lane" <tgl@sss.pgh.pa.us> writes:
>> I don't remember why it's deprecated.  

> The manual explains it:
>     This option is deprecated, as it is conceptually flawed. (Prompting for a
>     non-default user name and prompting for a password because the server
>     requires it are really two different things.) You are encouraged to look
>     at the -U and -W options instead.

Hmm.  The point about the forced password prompt is certainly valid,
but I see nothing wrong with the idea of having an option to prompt
for the username.  What if we just took out the forced password prompt,
on the grounds that you can get that with "-u -W" if you want it?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: The E.
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Release Note Changes