Re: initdb check_need_password fix

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: initdb check_need_password fix
Дата
Msg-id CA+TgmoZAdAxR4b+9rkazPmxTPkK=1szGhVkodEKG9ancZYS9Ww@mail.gmail.com
обсуждение исходный текст
Ответ на initdb check_need_password fix  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Thu, Jun 28, 2012 at 3:48 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> If you run initdb -A md5, you get an error
>
> initdb: must specify a password for the superuser to enable md5 authentication
>
> In 9.2, when you run something like initdb --auth-local=peer
> --auth-host=md5, you still get that error, which I think is a mistake.
> The error should only be shown if both authentication choices are
> password-like.  Hence I propose the attached patch.

Looks right to me.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Jan Urbański
Дата:
Сообщение: Re: plpython issue with Win64 (PG 9.2)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: We probably need autovacuum_max_wraparound_workers