mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Fix some comments related to library unloading
Library unloading has never been supported with its code removed in
ab02d702ef
, 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
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user