Fix handling of previous password hooks in passwordcheck When piling up loading of modules using check_password_hook_type, loading passwordcheck would remove any trace of a previously-loaded hook. Unloading the module would also cause previous hooks to be entirely gone.
Reported-by: Rafael Castro Author: Michael Paquier Reviewed-by: Daniel Gustafsson Discussion: https://postgr.es/m/[email protected] Backpatch-through: 9.4 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/cb007441789dc19d40b4ae8902e0108b75811f00 Modified Files -------------- contrib/passwordcheck/passwordcheck.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
