b17ef1e6e6
fix向量走bypass没有校验targetlist 表达式的问题
2025-06-19 10:03:08 +08:00
a78196b647
merge show-events into 6.0.0
...
解决show events报语法错误的问题
Created-by: dodders
Commit-by: laishenghao
Merged-by: opengauss_bot
Description: 【标题】解决show events报语法错误的问题
【实现内容】:解决show events报语法错误的问题
【根因分析】: B库下interval为关键字,导致语法解析错误
【实现方案】:在B库下对interval增加反引号。
【关联需求或issue】:https://gitcode.com/opengauss/openGauss-server/issues/7008
【开发自验报告】:
1. 请附上自验结果(内容或者截图)

2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
是
3. 是否涉及资料修改,如是,在docs仓库补充资料
否
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
不涉及
5. 是否考虑在线扩容等扩展场景
不涉及
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
解决异常报错
7. 是否对其他模块产生影响
否
【其他说明】:NA
See merge request: opengauss/openGauss-server!7894
2025-06-12 09:15:27 +08:00
548b1bf2bf
解决show events抱语法错误的问题
2025-06-11 17:54:51 +08:00
c0ad9767c6
merge 6.0.0_merge_db4ai into 6.0.0
...
回合600修复db4ai安全漏洞
Created-by: aaronmei
Commit-by: 梅程
Merged-by: opengauss_bot
Description: 【标题】(请简要描述下实现的内容)
回合修复db4ai安全漏洞
【实现内容】:
回合修复db4ai安全漏洞
【根因分析】:
回合修复db4ai安全漏洞
回合PR
1. https://gitee.com/opengauss/openGauss-server/pulls/7444
2. https://gitee.com/opengauss/openGauss-server/pulls/7466
3. https://gitee.com/opengauss/openGauss-server/pulls/7610
【实现方案】:
回合修复db4ai安全漏洞
【关联需求或issue】:
https://gitcode.com/opengauss/openGauss-server/issues/7146
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
直装验证

带b库升级ok

回滚ok

再升级ok

提交ok

2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
已添加
3. 是否涉及资料修改,如是,在docs仓库补充资料
否
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
已添加升级脚本
5. 是否考虑在线扩容等扩展场景
否
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
否
7. 是否对其他模块产生影响
否
【其他说明】:
See merge request: opengauss/openGauss-server!7891
2025-06-11 17:13:21 +08:00
565e8bd038
fix DB4AI security bugs
2025-06-11 15:59:11 +08:00
e76952fa71
处理issue:openGauss 7.0.0-RC1 执行hw_create_table_llt引起宕机
2025-06-11 11:01:44 +08:00
13eb69384c
【回合 600】修复复合 token 报错问题
...
Co-authored-by: He Bomou<paakmau@outlook.com >
2025-06-11 10:43:45 +08:00
0f9ccd37ca
merge 6.0.0 into 6.0.0
...
回合
Created-by: jinyangzhen
Commit-by: jinyangzhen;chendong76;jiangyan
Merged-by: opengauss_bot
Description: 【标题】(请简要描述下实现的内容)
【实现内容】:
【根因分析】:
【实现方案】:
【关联需求或issue】:
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
3. 是否涉及资料修改,如是,在docs仓库补充资料
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
5. 是否考虑在线扩容等扩展场景
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
7. 是否对其他模块产生影响
【其他说明】:
See merge request: opengauss/openGauss-server!7873
2025-06-10 21:42:58 +08:00
f65075d89f
【回合 6.0.0】修正 CREATE USER 语法解析报错信息
...
Co-authored-by: He Bomou<paakmau@outlook.com >
2025-06-10 15:56:22 +08:00
b03aadddf5
6.0资源池化适配日志合一
2025-06-10 11:02:15 +08:00
7eefbe5a47
merge bypass_6 into 6.0.0
...
[回合6.0.0] 【兼容性组】向量索引扫描支持SQL Bypass
Created-by: superlchf
Commit-by: superlchf
Merged-by: opengauss_bot
Description: 【标题】[回合6.0.0] 【兼容性组】向量索引扫描支持SQL Bypass
【实现内容】:
同步代码
https://gitcode.com/opengauss/openGauss-server/pull/7734
【根因分析】:
【实现方案】:
【关联需求或issue】:
https://gitcode.com/opengauss/org-issue/issues/1276
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
3. 是否涉及资料修改,如是,在docs仓库补充资料
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
5. 是否考虑在线扩容等扩展场景
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
7. 是否对其他模块产生影响
【其他说明】:
测试参考之前pr的测试说明。
See merge request: opengauss/openGauss-server!7845
2025-06-07 17:05:49 +08:00
ff67ec9904
新增向量数据库的bypass功能
2025-06-07 11:54:10 +08:00
b5ef3d8bdd
Improve kernel's extension scalability
...
1.Introduce CustomScan into openGauss
CustomScan is a powerful PostgreSQL feature that allows developers to extend the
query executor by implementing custom scan providers. This enables integration of
specialized data sources or optimization techniques that aren't natively supported
by PostgreSQL.
a. CustomScan node: A plan node that represents the custom scan operation
b. CustomScan methods: Callbacks that implement the scan behavior
c. CustomScan provider: The extension that registers the custom scan implementation
CustomScan is an advanced feature primarily used by extension developers to deeply
integrate specialized data processing capabilities with PostgreSQL's query executor.
add transaction callbacks interface before commit and prepare stage.
extenal extension can use those interface to participate opengauss's
transaction model.
2.adapt bgworker for plugin.
3.Add spq build adaption
4.Fit for extensible plan/extensible node.
5.Allow auth logic to continue search after found an rule with remote trust but the
connection is not from coordinator.
2025-06-06 18:30:56 +08:00
7735c289e5
Revert "资源池化支持主备参数同步"
...
This reverts commit c302c3ddda83ba2e97d3be10831d8f442578d80a.
2025-06-06 09:28:30 +08:00
c302c3ddda
资源池化支持主备参数同步
2025-06-05 10:46:20 +08:00
6256dfae5a
merge 6.0.02_bugfix_huihe into 6.0.0
...
6.0.2代码回合
Created-by: congzhou2603
Commit-by: congzhou2603;zhangyukai
Merged-by: opengauss_bot
Description: 【标题】(请简要描述下实现的内容)
【实现内容】:
解决按需回放部分问题:
https://gitcode.com/opengauss/openGauss-server/pull/6592
7.0.0修复【写转发】参数命名单词错误,enable_remote_excute修改为enable_remote_execute
https://gitcode.com/opengauss/openGauss-server/pull/6603
解决内置函数query_node_reform_info部分回放时间/构建时间字段获取异常问题
https://gitcode.com/opengauss/openGauss-server/pull/6707
【bugfix】修复redo阶段大量线程pin同一个页面,导致cleanup锁饿死的问题
https://gitcode.com/opengauss/openGauss-server/pull/6742
【bugfix】修改资源池化switchover时checkpoint线程有概率core的问题
https://gitcode.com/opengauss/openGauss-server/pull/6829
【7.0.0-RC1】修复开启实时构建特性下,内置函数query_node_reform_info部分字段无法获取有效值
https://gitcode.com/opengauss/openGauss-server/pull/6830
【bugfix】修复极致RTO分发XLOG_SWITCH日志时卡住的问题
https://gitcode.com/opengauss/openGauss-server/pull/6896
修复资源池化下wal日志段文件大小调整为1G,实际查询结果为16MB的问题
https://gitcode.com/opengauss/openGauss-server/pull/6997
【bugfix】修复按需回放执行drop table后发生failover卡住的问题
https://gitcode.com/opengauss/openGauss-server/pull/7064
【bugfix】 修复按需回放部分core问题
https://gitcode.com/opengauss/openGauss-server/pull/7145
bugfix】修复开启全量checkpoint后,备机存在写xlog的问题
https://gitcode.com/opengauss/openGauss-server/pull/7181
【bugfix】按需回放redo阶段分区锁流程加固
https://gitcode.com/opengauss/openGauss-server/pull/7217
修复小型化安装数据库,节点IP监听错误问题
https://gitcode.com/opengauss/openGauss-server/pull/7273
【bugfix】 修复主机重启场景,主机flushcopy时有概率拿到invalidbuffer
https://gitcode.com/opengauss/openGauss-server/pull/7327
【bugfix】修复资源池化主机重启场景备机死锁的问题
https://gitcode.com/opengauss/openGauss-server/pull/7357
bugfix 修复主机重启时有概率死锁问题
https://gitcode.com/opengauss/openGauss-server/pull/7390
【bugfix】修复主机重启场景按需回放备机new lsn is less than past lsn问题
https://gitcode.com/opengauss/openGauss-server/pull/7422
【bugfix】master修复abort事务时,如果事务内创建了大量文可能会导致abort卡死的问题
https://gitcode.com/opengauss/openGauss-server/pull/7562
【根因分析】:
【实现方案】:
【关联需求或issue】:
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
3. 是否涉及资料修改,如是,在docs仓库补充资料
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
5. 是否考虑在线扩容等扩展场景
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
7. 是否对其他模块产生影响
【其他说明】:
See merge request: opengauss/openGauss-server!7822
2025-06-05 09:57:32 +08:00
e448b16efb
更正资源池化场景下wal_segment_size的参数值
2025-06-04 17:47:45 +08:00
4b25539ad3
修改enable_remote_excute参数名称为enable_remote_execute
2025-06-04 17:46:51 +08:00
47cdfb7dc0
INSERT与REPLACE性能优化合入600
2025-06-04 16:28:53 +08:00
468afc6f05
merge back into 6.0.0
...
【回合6.0.0】代码回合
Created-by: zhubin79
Commit-by: zhubin79
Merged-by: opengauss_bot
Description: 【标题】【回合6.0.0】代码回合
【实现内容】:
回合PR:
- https://gitcode.com/opengauss/openGauss-server/pull/7226
- https://gitcode.com/opengauss/openGauss-server/pull/7209
- https://gitcode.com/opengauss/openGauss-server/pull/7023
- https://gitcode.com/opengauss/openGauss-server/pull/6660
【根因分析】:
【实现方案】:
【关联需求或issue】:
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
3. 是否涉及资料修改,如是,在docs仓库补充资料
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
5. 是否考虑在线扩容等扩展场景
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
7. 是否对其他模块产生影响
【其他说明】:
See merge request: opengauss/openGauss-server!7799
2025-06-03 10:40:09 +08:00
59d2f5d182
merge 6.0.0 into 6.0.0
...
【回合6.0.0】同步部分bugfix到6.0.0分支
Created-by: wangfeihuo
Commit-by: wangfeihuo
Merged-by: opengauss_bot
Description: 【标题】同步部分bugfix到6.0.0分支
【实现内容】: 同步部分bugfix到6.0.0分支
【根因分析】: 同步部分bugfix到6.0.0分支
【实现方案】: 同步部分bugfix到6.0.0分支
包括:
1、 https://gitcode.com/opengauss/openGauss-server/pull/7554 兼容mysql的unique_checks参数
2、 https://gitcode.com/opengauss/openGauss-server/pull/7189 修复jsonb的value为空时建jsonb gin索引失败的问题
3、https://gitcode.com/opengauss/openGauss-server/pull/6957 修复存储过程使用set_variables传参报different character set data is not allowed
4、https://gitcode.com/opengauss/openGauss-server/pull/6931 修复standard_conforming_strings = off时B库初始化时core的问题
5、https://gitcode.com/opengauss/openGauss-server/pull/6505 修复\" 不能被转义成“的问题
6、https://gitcode.com/opengauss/openGauss-server/pull/7667 修复支持FOREIGN_KEY_CHECKS=0且只有外键触发器的时候无法走sql-bypass的问题
7、https://gitcode.com/opengauss/openGauss-server/pull/7670 支持整型常量按照参数形式解释
8、https://gitcode.com/opengauss/openGauss-server/pull/7695 支持通过unique_checks开关跳过唯一性检查
9、https://gitcode.com/opengauss/openGauss-server/pull/7697 优化_bt_compare中int1和int2比较的性能
【关联需求或issue】: https://gitcode.com/opengauss/openGauss-server/issues/7078
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
回合代码不涉及
2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
回合代码不涉及
3. 是否涉及资料修改,如是,在docs仓库补充资料
不涉及
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
不涉及
5. 是否考虑在线扩容等扩展场景
不涉及
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
不涉及
7. 是否对其他模块产生影响
不涉及
【其他说明】:
See merge request: opengauss/openGauss-server!7807
2025-06-03 09:31:17 +08:00
f9196e89fa
同步部分bugfix到6.0.0分支
2025-05-30 18:01:21 +08:00
f52139e2b8
回合master分支bugfix至6.0.0
2025-05-30 17:10:06 +08:00
05cd296354
修复event门禁概率失败情形
2025-05-30 09:45:19 +08:00
58e43b1162
B库下MOT表char类型判断长度修改为字符长度
2025-05-29 20:22:55 +08:00
5c0b4e5cd3
A 库下处理hash分区遇到null值输入报错问题
2025-05-29 19:40:57 +08:00
ea61775e9b
修复smp场景嵌套concat执行效率慢的问题
2025-05-29 18:11:43 +08:00
a2179732cb
带用户变量赋值的查询禁用smp
2025-05-29 18:09:04 +08:00
6f9514bf9f
修复smp下cstore insert场景没有分配事务号的问题 && 修复smp下执行带userset变量语句失败的问题
2025-05-29 18:08:43 +08:00
798fe23e4f
修复普通用户通过函数非法提权的问题
2025-05-29 18:02:53 +08:00
37924527aa
修复线程池下跨事务游标fetch的core问题
2025-05-29 17:59:12 +08:00
a8b0b8438f
修复create index if not exists不带索引名时coredump的问题
2025-05-29 17:53:31 +08:00
f0fe465905
修复编码转换时保存常量地址导致的core问题
2025-05-29 17:41:35 +08:00
18f59575a6
修复bitmapscan扫描结果异常的问题
2025-05-29 17:41:08 +08:00
a736a016fd
修复创建抽象类型不支持逻辑解码导致发布订阅check失败的问题
2025-05-29 17:37:52 +08:00
25f9455a5a
修复subscription check若干问题
2025-05-29 17:37:51 +08:00
a7514c442a
fix upgrade, testcase
...
(cherry picked from commit 2fc65f0f11df0ba5156cac71dae54b1d62246c3c)
2025-05-15 15:14:13 +08:00
870f1ac7c8
Merge remote-tracking branch 'gitee/6.0.0' into 6.0.0
2025-05-06 11:34:59 +08:00
aa6a951d74
修复编译问题
2025-04-24 15:04:45 +08:00
7d05f87eb4
【CMIT】fix bug ivfflat index scan order error
2025-04-23 11:39:32 +08:00
642c974cd9
optimize ivfflate scan items
2025-04-23 11:33:24 +08:00
b36cf7c3b1
add HNSW search
2025-04-23 11:33:15 +08:00
c3bf9bcddd
[CMIT] add AnnIndexScan operator for vector database index scan
2025-04-23 10:43:38 +08:00
ff5343275c
修复3.0.3升级至6.0.1报错
2025-04-22 15:21:50 +08:00
0925d769e6
support HNSWPQ
2025-04-22 15:13:28 +08:00
828674b29c
新增hnsw & ivfflat reloptions
2025-04-22 14:40:28 +08:00
d3d1b61598
支持DataVec向量数据库
2025-04-22 14:33:14 +08:00
836f775ec3
openGauss支持chparser插件
2025-04-21 15:35:28 +08:00
9095d49f35
处理issue:create view 中含有connect by会报错
2025-03-24 19:55:49 +08:00
2556dd9111
修复子查询提升mergejoin的排序规则报错问题
2025-03-18 21:08:22 +08:00