Load dolphin for stream worker and apply worker.
This commit is contained in:
@ -2238,6 +2238,10 @@ void PostgresInitializer::InitStreamSession()
|
|||||||
InitExtensionVariable();
|
InitExtensionVariable();
|
||||||
|
|
||||||
FinishInit();
|
FinishInit();
|
||||||
|
|
||||||
|
#if (!defined(ENABLE_MULTIPLE_NODES)) && (!defined(ENABLE_PRIVATEGAUSS))
|
||||||
|
LoadSqlPlugin();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void PostgresInitializer::InitSysCache()
|
void PostgresInitializer::InitSysCache()
|
||||||
|
@ -1511,6 +1511,9 @@ void ApplyWorkerMain()
|
|||||||
t_thrd.proc_cxt.PostInit->InitApplyWorker();
|
t_thrd.proc_cxt.PostInit->InitApplyWorker();
|
||||||
pgstat_report_appname("ApplyWorker");
|
pgstat_report_appname("ApplyWorker");
|
||||||
pgstat_report_activity(STATE_IDLE, NULL);
|
pgstat_report_activity(STATE_IDLE, NULL);
|
||||||
|
#if (!defined(ENABLE_MULTIPLE_NODES)) && (!defined(ENABLE_PRIVATEGAUSS))
|
||||||
|
LoadSqlPlugin();
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Load the subscription into persistent memory context. */
|
/* Load the subscription into persistent memory context. */
|
||||||
t_thrd.applyworker_cxt.applyContext =
|
t_thrd.applyworker_cxt.applyContext =
|
||||||
|
Reference in New Issue
Block a user