Re: BUG #15932: Module passwordcheck doesn't reference previous hooks
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: Michael Paquier <michael@paquier.xyz>
Cc: rafaelthca@gmail.com,
pgsql-bugs@lists.postgresql.org
Date: 2019-07-31T07:54:17Z
Lists: pgsql-bugs
> On 31 Jul 2019, at 09:34, Michael Paquier <michael@paquier.xyz> wrote: > > On Wed, Jul 31, 2019 at 09:23:54AM +0200, Daniel Gustafsson wrote: >> LGTM. A small nitpick is that the below comment isn’t really giving the full >> picture, prev_check_password_hook is not just used for unload but for the hook >> chaining. > > My understanding is that it's the same meaning, and also: > $ git grep "in case of unload" > contrib/auto_explain/auto_explain.c:/* Saved hook values in case of > unload */ > contrib/pg_stat_statements/pg_stat_statements.c:/* Saved hook values > in case of unload */ > src/test/modules/test_rls_hooks/test_rls_hooks.c:/* Saved hook values > in case of unload */ Hmm, ok, IMO my comment applies to those as well, but it may very well be me just reading it wrong. Either way, +1 for pushing your patch. cheers ./daniel
Commits
-
Fix handling of previous password hooks in passwordcheck
- eea28a3cb369 9.4.24 landed
- 4536e494fdf2 9.5.19 landed
- 957b822b5294 9.6.15 landed
- cb007441789d 10.10 landed
- a7eb28d0caa8 11.5 landed
- 20f5cb19582e 12.0 landed
- b2a3d706b8d7 13.0 landed