Commit Graph

146 Commits

Author SHA1 Message Date
85d0f5404f Fix loadsqlplugin lead CurrentResourceOwner to null. 2024-04-11 20:03:55 +08:00
f0001249ab LoadSqlPlugin should be called after mask_password_mem_cxt is created. 2024-04-11 20:03:55 +08:00
8ba95f489f Fix user var bug in plsql. 2024-04-11 20:03:34 +08:00
8e5ea5c2a2 修复多字符集场景pbe结果集与直接执行不同的问题;修复PBE参数值未转字符集编码的问题 2024-04-11 20:03:33 +08:00
e9775edba8 @variable 递归调用 2024-04-11 14:31:21 +08:00
d749f0b67d 解决interval分区表并发插入时自增重复范围分区的问题。(在消费无效消息后,本地缓存中relation的信息不是最新)
当第一次打开分区relation时,不在缓存中需要build,build过程中获取了分区信息后,收到并处理其他会话自增分区的无效消息,
处理无效消息时,发现缓存中没有,则不做任何处理,最终导致生成的realtion中不包含新增的分区,但是无效消息却消费了,
最后通过relation->partMap判断分区不存在,自增分区,出现重复范围的分区。
推理可得,在处理无效消息时,realtion已存在缓存中,并且已打开过,在rebuild的时候存在同样的问题,在嵌套rebuild中,
内层消费无效消息并获取最新元信息,最终会被最外层的rebuild的relation覆盖。
2024-04-10 22:40:23 +08:00
33afc0ace5 修复内存泄漏 2024-04-09 22:04:42 +08:00
f8baaa4e54 fixed ccdbdaa from https://gitee.com/opengauss/openGauss-server/pulls/4399
Fix initdb with B db bug.
2023-11-07 08:06:53 +00:00
16ab6f0e4c fixed 766a2b9 from https://gitee.com/totaj/openGauss-server/pulls/4210
Fix load dolphin bug when upgrade in lite-mode.
2023-10-12 02:49:49 +00:00
2154090a94 Record query's parse tree nodetag for dolphin. userd to check query's type, for strict mode. 2023-10-10 11:58:56 +08:00
e4206107c1 同步修改到3.0.4版本 2023-10-07 11:12:53 +08:00
1565437b4c !3982 【master回合5.0.0】使用新参数控制A兼容性下空字符串意义
Merge pull request !3982 from Cross-罗/accept_emp_5
2023-08-19 08:57:40 +00:00
af07004d80 使用新参数控制A兼容性下空字符串意义 2023-08-18 16:39:01 +08:00
8d4fb81a72 Must load dolphin before connect to B-database. 2023-08-15 09:26:14 +08:00
5e9cf48e6f 优化show warnings在PBE流程中,fetchsize对exec_execute_message的影响 2023-08-03 21:11:49 +08:00
dda6f57125 show warnings在jdbc的(PBE)流程中,缺少error信息拷贝处理 2023-08-03 21:11:42 +08:00
28501fa118 fixed 96a66aa from https://gitee.com/totaj/openGauss-server/pulls/3161
gs_clean should load plugin

Signed-off-by: pengjiong <totaj@qq.com>
2023-03-15 14:07:27 +00:00
96cb9c63fe !3122 通信优化参数调整
Merge pull request !3122 from 刘宝珠/comm-5.0
2023-03-15 01:56:24 +00:00
b4fae4b304 repair no support thread pool in libpqsw 2023-03-14 21:53:52 +08:00
1c8f8d8153 select_into_fix
Offering: openGaussDev

More detail: fix the lost of targetlist data

Match-id-18da7d885125b5bbd6c1cbe3b1588751ca89f554
2023-03-13 22:11:15 +08:00
4086072c4a 调整light_comm参数级别 2023-03-12 23:48:36 -07:00
368aca5037 fixed e8a1c88 from https://gitee.com/luo_zihao5524/openGauss-server/pulls/3049
修复jdbc setMaxRows事务不会自动提交的问题
2023-03-07 13:25:11 +00:00
58e6120553 !2998 SRF执行优化
* fix srf factcheck case
* SRF执行优化
2023-03-06 09:29:04 +00:00
1f6090e30e !2977 同步5.0.0版本特性
Merge pull request !2977 from 杨皓/master
2023-02-27 11:02:01 +00:00
f7d23913d6 sync all inner code 2023-02-27 14:08:20 +08:00
26e959b405 通信优化 2023-02-25 06:37:44 -08:00
28fa2ea9d2 !2882 【bugfixed】解决insert语句右值引用不支持jdbc方式,以及列存在not null约束时默认值与MySQL不一致的问题,修改加入rules用例到fastcheck
Merge pull request !2882 from laishenghao/rr-bf
2023-02-09 12:14:31 +00:00
9186031f99 解决insert语句右值引用不支持jdbc方式,以及列存在not null约束时默认值与MySQL不一致的问题,修改加入rules用例到fastcheck 2023-02-09 14:23:45 +08:00
67ea04610e 修复并发场景下会话未调初始化会话级hook的问题 2023-02-08 21:51:29 +08:00
22ec06468a fix init logger causing libc deadlocks 2023-01-10 15:22:53 +08:00
826bddb3a6 DMS/DSS日志独立 2023-01-10 09:38:20 +08:00
255c419497 add plannerHook 2023-01-03 11:54:40 +08:00
16bed4d95b repair create table as /insert into/ select into bug. 2022-12-23 12:19:53 +08:00
3787c02557 add log_enable logic and avoid psrc is NULL 2022-12-14 20:48:18 +08:00
1a4ec792e8 support multi standby write feature 2022-12-13 16:39:18 +08:00
5624f47847 1130 bugfix 2022-12-09 14:50:49 +08:00
ef16c13c16 !2520 MOT new features
Merge pull request !2520 from Vinoth Veeraraghavan/master
2022-12-07 12:15:54 +00:00
8da08b573d Fix load plugin bug. 2022-12-07 10:12:07 +08:00
ecf4c78cb2 Merge remote-tracking branch 'upstream/master' 2022-12-05 19:32:01 +08:00
e3e241a6ac !2504 修复设置debug_print_plan,debug_print_parse,debug_print_rewritten日志级别仅在LOG和LOG以上使能的问题
Merge pull request !2504 from zhangao/master
2022-12-01 12:03:11 +00:00
7784e48e23 MOT new features:
1. JIT support for stored procedures
2. MVCC & Cross-Txn support
3. Alter Table support (Add/Drop/Rename Column)
4. Low RTO
5. More stabilizations
2022-12-01 18:18:05 +08:00
aca1831e9d !2401 MySQL特性--show warnings/errors语法
Merge pull request !2401 from 吕辉/show_syntax
2022-11-30 13:45:18 +00:00
f4544edffe !2336 允许openGauss在B兼容模式下通过autocommit开启、关闭自动提交功能
Merge pull request !2336 from Cross-罗/autocommit
2022-11-30 13:32:48 +00:00
760a13a29b !2416 【openGauss】insert支持后面的表达式右值带字段名
Merge pull request !2416 from laishenghao/right-ref
2022-11-30 13:13:16 +00:00
1e08b93a10 允许在B兼容模式下将autocommit设置为false并为自动提交关闭提供相应的功能 2022-11-30 14:56:14 +08:00
0c5c988daf 修复日志级别仅在LOG和LOG以上使能的问题 2022-11-29 14:52:06 +08:00
77098e8ee6 add show warnings and show errors syntax 2022-11-28 15:34:47 +08:00
40f2680dce 支持row_count()函数 2022-11-28 09:53:03 +08:00
adf53e20bb 增加insert语句支持右值字段引用功能 2022-11-14 15:12:08 +08:00
2507017c2d fix failing to send invalid message for ctas
Offering: GaussDB Kernel

More detail: ctas has to send invalid message so that rewriting ctas can be triggered.
2022-11-11 19:32:23 +08:00