initdb check_need_password fix

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема initdb check_need_password fix
Дата
Msg-id 1340912891.488.0.camel@vanquo.pezone.net
обсуждение исходный текст
Ответы Re: initdb check_need_password fix  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
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.



Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: embedded list v2
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: We probably need autovacuum_max_wraparound_workers