summaryrefslogtreecommitdiff
path: root/contrib/auto_explain
diff options
context:
space:
mode:
authorMichael Paquier2024-12-23 05:46:49 +0000
committerMichael Paquier2024-12-23 05:46:49 +0000
commit7f97b4734f937db6f8dab1bbf8bbaab349e6c9b1 (patch)
tree3827f44eae03b923f80f297e3d5c5efa442fbc45 /contrib/auto_explain
parent578a7fe7b6f8484f6d7caa2fda288abb3fe87aa0 (diff)
Fix some comments related to library unloading
Library unloading has never been supported with its code removed in ab02d702ef08, and there were some comments still mentioning that it was a possible operation. ChangAo has noticed the incorrect references in dfmgr.c, while I have noticed the other ones while scanning the rest of the tree for similar mistakes. Author: ChangAo Chen, Michael Paquier Reviewed-by: Tom Lane Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'contrib/auto_explain')
-rw-r--r--contrib/auto_explain/auto_explain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/auto_explain/auto_explain.c b/contrib/auto_explain/auto_explain.c
index f2eaa8e4949..4d87ea808e7 100644
--- a/contrib/auto_explain/auto_explain.c
+++ b/contrib/auto_explain/auto_explain.c
@@ -70,7 +70,7 @@ static bool current_query_sampled = false;
(nesting_level == 0 || auto_explain_log_nested_statements) && \
current_query_sampled)
-/* Saved hook values in case of unload */
+/* Saved hook values */
static ExecutorStart_hook_type prev_ExecutorStart = NULL;
static ExecutorRun_hook_type prev_ExecutorRun = NULL;
static ExecutorFinish_hook_type prev_ExecutorFinish = NULL;