BUG #4040: psql should provide option to not prompt for password

Поиск
Список
Период
Сортировка
От Mika Fischer
Тема BUG #4040: psql should provide option to not prompt for password
Дата
Msg-id 200803171019.m2HAJZA9023862@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #4040: psql should provide option to not prompt for password  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: BUG #4040: psql should provide option to not prompt for password  (Martin Pitt <martin@piware.de>)
Re: BUG #4040: psql should provide option to not prompt for password  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: BUG #4040: psql should provide option to not prompt for password  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      4040
Logged by:          Mika Fischer
Email address:      mf+ubuntu@zoopnet.de
PostgreSQL version: 8.3.0
Operating system:   Ubuntu Linux 8.4 beta
Description:        psql should provide option to not prompt for password
Details:

Hi,

I'm currently working on the bash-completion package. The problem with
postgresql is that psql cannot safely be called because there is no way to
know whether it will prompt for a password and there is also no way to avoid
the prompt.

Needless to say a password prompt is very bad in the context of
tab-completion.

Ideally, psql should provide an option --no-password which would cause it to
never promt for a password, and in case one is needed, fail as if a wrong
one was given.

However if you can think of an easier way to accomplish this, I'd be
grateful for pointers.

Thanks for considering,
 Mika

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

Предыдущее
От: "amnuay"
Дата:
Сообщение: BUG #4039: server closed the connection when use function "makeline_garray"
Следующее
От: Sergey Burladyan
Дата:
Сообщение: 8.3 can't convert cyrillic text from 'iso-8859-5' to other cyrillic 8-bit encoding