Re: Fix a wrong comment in load_file()
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: cca5507 <cca5507@qq.com>,
pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-12-23T04:15:31Z
Lists: pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes: > While on it, I think that we should adjust all these ones too: > contrib/sepgsql/hooks.c: * Module load/unload callback > contrib/auto_explain/auto_explain.c:/* Saved hook values in case of > unload */ > contrib/passwordcheck/passwordcheck.c:/* Saved hook value in case of > unload */ > contrib/pg_stat_statements/pg_stat_statements.c:/* Saved hook values > in case of unload */ Check. > The saved hooks are not here to readjust the stack based on a reload, > just to make sure that the existing paths loaded are all taken. I > would just remove the "in case of unload" part for the last three, and > "unload" for the first one. Thoughts? WFM regards, tom lane
Commits
-
Fix some comments related to library unloading
- 7f97b4734f93 18.0 landed