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 <[email protected]> Reviewed-by: Laurenz Albe <[email protected]> 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(-)
