Job schedule should load dolphin.

This commit is contained in:
totaj
2023-09-19 22:33:19 +08:00
parent 24ebc36bb7
commit 23adb56de3
2 changed files with 5 additions and 0 deletions

View File

@ -1254,6 +1254,8 @@ void PostgresInitializer::InitJobScheduler()
InitSettings(); InitSettings();
InitExtensionVariable();
FinishInit(); FinishInit();
} }

View File

@ -201,6 +201,9 @@ NON_EXEC_STATIC void JobScheduleMain()
/* Initialize openGauss with DEFAULT_DATABASE, since it cannot be dropped */ /* Initialize openGauss with DEFAULT_DATABASE, since it cannot be dropped */
t_thrd.proc_cxt.PostInit->SetDatabaseAndUser(dbname, InvalidOid, username); t_thrd.proc_cxt.PostInit->SetDatabaseAndUser(dbname, InvalidOid, username);
t_thrd.proc_cxt.PostInit->InitJobScheduler(); t_thrd.proc_cxt.PostInit->InitJobScheduler();
#if (!defined(ENABLE_MULTIPLE_NODES)) && (!defined(ENABLE_PRIVATEGAUSS))
LoadSqlPlugin();
#endif
#ifdef PGXC /* PGXC_COORD */ #ifdef PGXC /* PGXC_COORD */
/* /*