diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-08-01 09:38:25 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-08-01 09:38:25 +0900 |
commit | 4536e494fdf2d6ec493751a193f8086d327848d6 (patch) | |
tree | adc69257870fa1cbb38cf4614e3b4542474f98fa /src/backend/utils/adt/ruleutils.c | |
parent | 9dd74ba5aebc83341795fcb568b0e1f97cc2eb5d (diff) | |
download | postgresql-4536e494fdf2d6ec493751a193f8086d327848d6.tar.gz postgresql-4536e494fdf2d6ec493751a193f8086d327848d6.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 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions