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 @wangzhengyuan1 , 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, @ywzq1161327784 ,
and any of the committers: @Igali, @bihua111, @cailei19, @h_ray, @levy53071, @libiao2024, @lihaixiao, @mrzack, @wangfeihuo, @wuyuechuan, @xiong_xjun, @zhangfengzhi123, @zhangxubo, @zjh_hw .


可以使用以下参数进行创建测试: set check_function_bodies=off;

这只会推迟解析。后续真正执行 call db_replace(...) 时,如果 tbl_replace 仍然不存在或签名不匹配,还是会失败。


set check_function_bodies=off,参数设置后,在7.0.0测试没问题,但6.0.6还是有问题。


最新转测包测试6版本参数关闭后正常



最新6.0.6转测版本问题已解决,问题单可关闭



转测包地址:https://download-opengauss.osinfra.cn/archive_test/7.0.0/openGauss7.0.0.B020/openEuler20.03/arm/
测试日期:2026/08/26
验证结果:

若未设置参数set check_function_bodies=off;报错信息合理



回归版本:7.0.0 LTS B020
回归结论:通过
回归过程:
set check_function_bodies=on;成功执行

set check_function_bodies=off;报错合理



测试类型
SQL功能
测试版本
7.0.0LTS
问题描述
某存储过程在MySQL创建成功,但是在openGauss创建失败,存储过程内没有复杂语法
操作系统和硬件信息
openEuler release 20.03 (LTS-SP3)
Linux openGauss88 4.19.90-2112.8.0.0131.oe1.aarch64 #1 SMP Fri Dec 31 19:53:20 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
测试环境
极简版
被测功能
MySQL 兼容性
预置条件
无
操作步骤
step1. 在 openGauss B 库创建存储过程,以MySQL语法
预期输出
step1. 成功
实际输出
step1. 失败,相同语句在MySQL 5.7 执行成功

日志信息
提单组织
内部开发
测试代码