forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commiteea28a3
committed
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-loadedhook. Unloading the module would also cause previous hooks to beentirely gone.Reported-by: Rafael CastroAuthor: Michael PaquierReviewed-by: Daniel GustafssonDiscussion:https://postgr.es/m/15932-78f48f9ef166778c@postgresql.orgBackpatch-through: 9.41 parent4e10b6f commiteea28a3
1 file changed
+20
-0
lines changedLines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 |
| |
31 | 34 |
| |
32 | 35 |
| |
33 | 36 |
| |
| 37 | + | |
34 | 38 |
| |
35 | 39 |
| |
36 | 40 |
| |
| |||
63 | 67 |
| |
64 | 68 |
| |
65 | 69 |
| |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
66 | 75 |
| |
67 | 76 |
| |
68 | 77 |
| |
| |||
144 | 153 |
| |
145 | 154 |
| |
146 | 155 |
| |
| 156 | + | |
147 | 157 |
| |
148 | 158 |
| |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + |
0 commit comments
Comments
(0)