This issue requires an assignee. Since you haven't specified one, we've assigned TestManager as the default assignee for this issue.


Welcome To openGauss Community
Hey @czywj , thanks for your contribution to the community.
Bot Usage Manual
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.
Contact Guide
If you have any questions, please contact the SIG: StorageEngine, AI, CM, CloudNative, SecurityTechnology, SQLEngine ,
and any of the maintainers: @CarrotGo, @chendong76, @chenxiaobin19, @congzhou2603, @dodders, @hwworkholic, @jemappellehc, @muyulinzhong, @quemingjian, @shenzheng4, @shirley_zhengx, @superlchf, @totaj, @wlff234, @wofanzheng, @ywzq1161327784 ,
and any of the committers: @Igali, @bihua111, @cailei19, @h_ray, @levy53071, @libiao2024, @lihaixiao, @mrzack, @wangfeihuo, @wuyuechuan, @xiong_xjun, @zhangfengzhi123, @zhangxubo, @zhangzq131, @zjh_hw .


一个复现用例: 升级后创建以下视图,回滚后查看该视图定义报同样的错误
SELECT
l.objoid, l.classoid, l.objsubid,
'column'::text AS objtype,
rel.relnamespace AS objnamespace,
CASE WHEN pg_catalog.pg_table_is_visible(rel.oid)
THEN pg_catalog.quote_ident(rel.relname)
ELSE pg_catalog.quote_ident(nsp.nspname) || '.' || pg_catalog.quote_ident(rel.relname)
END || '.' || att.attname AS objname,
l.provider, l.label
FROM
pg_seclabel l
JOIN pg_class rel ON l.classoid = rel.tableoid AND l.objoid = rel.oid
JOIN pg_attribute att
ON rel.oid = att.attrelid AND l.objsubid = att.attnum
JOIN pg_namespace nsp ON rel.relnamespace = nsp.oid
WHERE
l.objsubid != 0


不再报错,验证通过




测试类型
工具功能
测试版本
7.0.0LTS
问题描述
操作系统和硬件信息
Linux openGauss155 4.19.90-2401.1.0.0233.oe1.aarch64 #1 SMP Wed Jan 3 02:32:32 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
测试环境
资源池化
被测功能
预置条件
操作步骤
安装基座数据库 6.0.6,并导出元数据地图
6.0.0--升级-->7.0.0--回滚-->6.0.6
使用导出的元数据地图,进行元数据校验
预期输出
校验成功
实际输出
校验失败
日志信息
提单组织
测试团队
测试代码