pgsql: passwordcheck: Log cracklib diagnostics

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: passwordcheck: Log cracklib diagnostics
Дата
Msg-id E1kBXpO-0001yc-Tp@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
passwordcheck: Log cracklib diagnostics

When calling cracklib to check the password, the diagnostic from
cracklib was thrown away.  This would hide essential information such
as no dictionary being installed.  Change this to show the cracklib
error message using errdetail_log().

Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Laurenz Albe <laurenz.albe@cybertec.at>
Discussion: https://www.postgresql.org/message-id/flat/f7266133-618a-0adc-52ef-f43c78806b0e%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/924123a87f40c12063a2bb2500805447cddc02a3

Modified Files
--------------
contrib/passwordcheck/passwordcheck.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix code for re-finding scan position in a multicolumn GIN index
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: doc: Rework tables for built-in operator classes of index AMs