postgresql/contrib/passwordcheck
Michael Paquier 20f5cb1958 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/15932-78f48f9ef166778c@postgresql.org
Backpatch-through: 9.4
2019-08-01 09:37:48 +09:00
..
expected Simplify new test suite handling of passwordcheck 2017-11-02 12:57:04 -04:00
sql Simplify new test suite handling of passwordcheck 2017-11-02 12:57:04 -04:00
.gitignore passwordcheck: Add test suite 2017-09-14 22:23:00 -04:00
Makefile Simplify new test suite handling of passwordcheck 2017-11-02 12:57:04 -04:00
passwordcheck.c Fix handling of previous password hooks in passwordcheck 2019-08-01 09:37:48 +09:00