!6352 解决timescaledb插件,根据btree索引对时序表进行聚簇排序报错【回合6.0.0】

Merge pull request !6352 from 叶某人/OG6.0
This commit is contained in:
opengauss_bot
2024-09-24 06:40:20 +00:00
committed by Gitee

View File

@ -1358,7 +1358,9 @@ void ProcReleaseLocks(bool isCommit)
/* Release standard locks, including session-level if aborting */
LockReleaseAll(DEFAULT_LOCKMETHOD, !isCommit);
/* check fastpaht bit num after release all locks */
Check_FastpathBit();
if (!u_sess->hook_cxt.forTsdbHook || !DB_IS_CMPT(PG_FORMAT)) {
Check_FastpathBit();
}
/* Release transaction-level advisory locks */
LockReleaseAll(USER_LOCKMETHOD, false);
}