pg_hba_file_rules: "scram-sha256" instead of "scram-sha-256"

Поиск
Список
Период
Сортировка
От Christophe Courtois
Тема pg_hba_file_rules: "scram-sha256" instead of "scram-sha-256"
Дата
Msg-id b66c8902-b4ac-1159-ea0a-0be0aaa0b28f@dalibo.com
обсуждение исходный текст
Ответы Re: pg_hba_file_rules: "scram-sha256" instead of "scram-sha-256"  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-bugs
Hi,

In pg_hba.conf, the new authentication method must be set as
"scram-sha-256".

But it appears as "scram-sha256" (only one hyphen) in pg_hba_file_rules.
This is a bit confusing.

"scram-sha256" appears in commit c727f120 in src/backend/libpq/hba.c,
while defining the array UserAuthName.

I've not seen why it should be this way in the associated discussions
(https://www.postgresql.org/message-id/fde71ff1-5858-90c8-99a9-1c2427e7bafb@iki.fi
,
https://www.postgresql.org/message-id/CAB7nPqS99Z31f7jhoYYMoBDbuZSQRpn+HQzByA=EwfMDYwCk1Q@mail.gmail.com)

Is it just a remnant of previous versions of the patch or is there a
reason?


-- 
Christophe Courtois
Consultant Dalibo
http://dalibo.com/  -  http://dalibo.org/


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #15011: pgAdmin doesn't connect local server
Следующее
От: panos kaf
Дата:
Сообщение: pg_ctl isnt recognized