已关闭
[Bug]: 【测试类型:功能测试】创建函数并赋权后,使用gs_checkse -i B5修复告警信息执行报错 #780
czywj创建于  8月13日关闭于  8月28日
czywj
czywj成员
8月13日 创建

测试类型

工具功能

测试版本

7.0.0LTS

问题描述

操作系统和硬件信息

2403 arm

测试环境

企业版主备

被测功能

预置条件

操作步骤

1.gs_checkse -i A5 --detail
2.gs_checkse -i B5 --detail;gs_checkse -i A5 --detail
3.gsql -r -c"drop function if exists cube;CREATE FUNCTION cube(x INTEGER) RETURNS INTEGER AS $$ BEGIN RETURN x * x * x; END; $$ LANGUAGE plpgsql;GRANT ALL ON FUNCTION cube(x INTEGER) TO PUBLIC;“

4.gs_checkse -i A5 --detail
5.gs_checkse -i B5 --detail;gs_checkse -i A5 --detail

预期输出

步骤五:执行成功
A5检测为Normal

实际输出

步骤五:B5执行报错

日志信息

image.png

提单组织

测试团队

测试代码

likedislike
czywjczywj成员
8月13日 添加了label:bug
czywjczywj成员
8月13日 关联了看板:openGauss 7.0.0-LTS
opengauss_botopengauss_bot成员
8月13日 添加了label:sig/OM
opengauss_bot
opengauss_bot成员
8月13日 评论:

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: OM ,
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: @hw_hbj, @libiao2024, @miffycree, @wangzili1, @zhangxubo .

likedislike
wangchaowangchao成员
8月25日 关联了pull request:修复gs_checkse B5执行失败问题
wangchao
wangchao成员
8月26日 评论:

B020版本自验证
1、数据库安装成功,执行check命令gs_checkse -i A5 --detail
image.png

2.gs_checkse -i B5 --detail;gs_checkse -i A5 --detail
image.png

3、创建函数,并授权
image.png
4.gs_checkse -i A5 --detail
image.png
5.gs_checkse -i B5 --detail;gs_checkse -i A5 --detail
image.png

likedislike
wangchaowangchao成员
8月26日 issue状态由 待办的 改变为 待回归
lvlintao666
lvlintao666成员
8月28日 评论:

回归时间:2026.8.28
回归版本:7.0.0 B020
回归结论:通过
回归步骤:安装数据库,执行以上步骤
image.png

likedislike
lvlintao666lvlintao666成员
8月28日 issue状态由 待回归 改变为 已验收
lvlintao666lvlintao666成员
8月28日 关闭了 issue