修复B库subscription check失败问题

This commit is contained in:
chenxiaobin19
2024-03-04 17:06:01 +08:00
parent a239fe378f
commit 7435bcd386
7 changed files with 12 additions and 2 deletions

View File

@ -211,8 +211,9 @@ static_assert(sizeof(NULL) == sizeof(void*), "NULL must be a 8 byte-length point
}
#define CUR_THR_IS_WORKER() (t_thrd.role == WORKER || t_thrd.role == THREADPOOL_WORKER ||\
t_thrd.role == STREAM_WORKER || t_thrd.role == THREADPOOL_STREAM || t_thrd.role == WAL_DB_SENDER||\
t_thrd.role == PARALLEL_DECODE || t_thrd.role == JOB_WORKER || t_thrd.role == AUTOVACUUM_WORKER)
t_thrd.role == STREAM_WORKER || t_thrd.role == THREADPOOL_STREAM || t_thrd.role == WAL_DB_SENDER ||\
t_thrd.role == PARALLEL_DECODE || t_thrd.role == JOB_WORKER || t_thrd.role == AUTOVACUUM_WORKER ||\
t_thrd.role == APPLY_WORKER)
#if (!defined(ENABLE_MULTIPLE_NODES)) && (!defined(ENABLE_PRIVATEGAUSS))
/* for dolphin and whale plugin */