!3682 修复带dolphin插件时,从3.1.0升级/回滚到5.x失败的问题

Merge pull request !3682 from pengjiong/fix_col
This commit is contained in:
opengauss_bot
2023-07-13 06:04:40 +00:00
committed by Gitee
2 changed files with 16 additions and 2 deletions

View File

@ -1 +1,8 @@
DO $$
BEGIN
-- 92780 is openGauss 3.1.0, which has dolphin, so should not drop it.
if working_version_num() < 92780 then
drop extension if exists dolphin;
end if;
END
$$;

View File

@ -1 +1,8 @@
DO $$
BEGIN
-- 92780 is openGauss 3.1.0, which has dolphin, so should not drop it.
if working_version_num() < 92780 then
drop extension if exists dolphin;
end if;
END
$$;