diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-08-01 09:37:48 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-08-01 09:37:48 +0900 |
commit | 20f5cb19582e62e5664e87f7d6963cb8db1628f9 (patch) | |
tree | 83de4f1ac723605692c8a21dac0c1680847079bb /contrib/jsonb_plperl/jsonb_plperl.c | |
parent | 408f759380c723b94e9fb8b523aa02509e1e1d6e (diff) | |
download | postgresql-20f5cb19582e62e5664e87f7d6963cb8db1628f9.tar.gz postgresql-20f5cb19582e62e5664e87f7d6963cb8db1628f9.zip |
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
Diffstat (limited to 'contrib/jsonb_plperl/jsonb_plperl.c')
0 files changed, 0 insertions, 0 deletions