aboutsummaryrefslogtreecommitdiff
path: root/contrib/pg_stat_statements/pg_stat_statements.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-12-23 14:46:49 +0900
committerMichael Paquier <michael@paquier.xyz>2024-12-23 14:46:49 +0900
commit7f97b4734f937db6f8dab1bbf8bbaab349e6c9b1 (patch)
tree3827f44eae03b923f80f297e3d5c5efa442fbc45 /contrib/pg_stat_statements/pg_stat_statements.c
parent578a7fe7b6f8484f6d7caa2fda288abb3fe87aa0 (diff)
downloadpostgresql-7f97b4734f937db6f8dab1bbf8bbaab349e6c9b1.tar.gz
postgresql-7f97b4734f937db6f8dab1bbf8bbaab349e6c9b1.zip
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/tencent_1D09840A1632D406A610C8C4E2491D74DB0A@qq.com
Diffstat (limited to 'contrib/pg_stat_statements/pg_stat_statements.c')
-rw-r--r--contrib/pg_stat_statements/pg_stat_statements.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pg_stat_statements/pg_stat_statements.c b/contrib/pg_stat_statements/pg_stat_statements.c
index 602cae54ffd..7b3dd137b8f 100644
--- a/contrib/pg_stat_statements/pg_stat_statements.c
+++ b/contrib/pg_stat_statements/pg_stat_statements.c
@@ -256,7 +256,7 @@ typedef struct pgssSharedState
/* Current nesting depth of planner/ExecutorRun/ProcessUtility calls */
static int nesting_level = 0;
-/* Saved hook values in case of unload */
+/* Saved hook values */
static shmem_request_hook_type prev_shmem_request_hook = NULL;
static shmem_startup_hook_type prev_shmem_startup_hook = NULL;
static post_parse_analyze_hook_type prev_post_parse_analyze_hook = NULL;