Re: password_encryption default

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: password_encryption default
Дата
Msg-id 9ef1c127-12c9-d5d7-0b3f-e435a74b84ce@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: password_encryption default  ("Jonathan S. Katz" <jkatz@postgresql.org>)
Ответы Re: password_encryption default  ("Jonathan S. Katz" <jkatz@postgresql.org>)
Список pgsql-hackers
On 2020-05-27 15:25, Jonathan S. Katz wrote:
> $ initdb -D data --auth-local=scram-sha-256 --auth-host=md5
> 
> Got an error message:
> 
> "initdb: error: must specify a password for the superuser to enable md5
> authentication"
> 
> For the last two, that behavior is to be expected (after all, you've set
> the two login vectors to require passwords), but the error message seems
> odd now. Perhaps we tweak it to be:
> 
> 
> "initdb: error: must specify a password for the superuser when requiring
> passwords for both local and host authentication."

That message is a bit long.  Maybe just

must specify a password for the superuser to enable password authentication

without reference to the specific method.  I think the idea is clear there.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: PATCH: logical_work_mem and logical streaming of largein-progress transactions
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: password_encryption default