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 @liao-shiting , 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 .


需修改plpython3u对应的初始化sql函数,消除多余的version信息


验证通过:




测试类型
SQL功能
测试版本
7.0.0-RC3
问题描述
使用writeToBuffer函数写入后输出结果有多余信息
操作系统和硬件信息
测试环境
企业版单机
被测功能
GMS_XMLDOM
预置条件
操作步骤
DECLARE- test
'));
doc GMS_XMLDOM.DOMDocument;
ndoc GMS_XMLDOM.DOMNode;
buf VARCHAR2(4000);
x XMLType;
BEGIN
doc := GMS_XMLDOM.newDOMDocument(XMLType('
ndoc := GMS_XMLDOM.makeNode(doc);
GMS_XMLDOM.writeToBuffer(ndoc, buf);
raise notice 'writeToBuffer: %',buf;
GMS_XMLDOM.freeDocument(doc);
END;
/
预期输出
实际输出
多了xml version信息

日志信息
无
提单组织
联合伙伴
测试代码