pgsql: passwordcheck: Log cracklib diagnostics - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: passwordcheck: Log cracklib diagnostics
Date
Msg-id E1kBXpO-0001yc-Tp@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix code for re-finding scan position in a multicolumn GIN index
Next
From: Michael Paquier
Date:
Subject: pgsql: doc: Rework tables for built-in operator classes of index AMs