未开启DSS时,ndpplugin插件加载校验

This commit is contained in:
jiwenke
2023-08-30 16:00:46 +08:00
parent 3dd268777d
commit a698037241

View File

@ -1464,6 +1464,11 @@ void _PG_init(void)
{
ereport(DEBUG2, (errmsg("init ndpplugin.")));
if (!ENABLE_DSS) {
ereport(DEBUG2, (errmsg("ndpplugin is not support while DMS and DSS disable.")));
return;
}
pthread_mutex_lock(&g_ndp_instance.mutex);
#ifdef GlobalCache