Re: psql: default base and password reading

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql: default base and password reading
Дата
Msg-id 24621.1002868275@sss.pgh.pa.us
обсуждение исходный текст
Ответ на psql: default base and password reading  (Adam Osuchowski <adwol@polsl.gliwice.pl>)
Ответы Re: psql: default base and password reading  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
Adam Osuchowski <adwol@polsl.gliwice.pl> writes:
> in attachment I enclose patch on psql which fix two things:
> 1. If no database was given, template1 is assumed.

That is a very large step backwards from the current behavior (default
to dbname = username).  The last thing we want is to encourage people
to use template1 for routine operations.

> 2. Password is reading from terminal (/dev/tty) rather than from
> stdin.

Hmm, that might be a good idea.  Comments anyone?

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: postgresql-7.1.3 pg_ctl password authentication and startup
Следующее
От: Bradley McLean
Дата:
Сообщение: Re: psql: default base and password reading