Load dolphin for stream worker and apply worker.
This commit is contained in:
totaj
2023-03-16 20:37:40 +08:00
committed by pengjiong
parent eacf1d2018
commit 1a18fa5cb1
2 changed files with 7 additions and 0 deletions

View File

@ -2238,6 +2238,10 @@ void PostgresInitializer::InitStreamSession()
InitExtensionVariable();
FinishInit();
#if (!defined(ENABLE_MULTIPLE_NODES)) && (!defined(ENABLE_PRIVATEGAUSS))
LoadSqlPlugin();
#endif
}
void PostgresInitializer::InitSysCache()

View File

@ -1511,6 +1511,9 @@ void ApplyWorkerMain()
t_thrd.proc_cxt.PostInit->InitApplyWorker();
pgstat_report_appname("ApplyWorker");
pgstat_report_activity(STATE_IDLE, NULL);
#if (!defined(ENABLE_MULTIPLE_NODES)) && (!defined(ENABLE_PRIVATEGAUSS))
LoadSqlPlugin();
#endif
/* Load the subscription into persistent memory context. */
t_thrd.applyworker_cxt.applyContext =