Commit Graph

58 Commits

Author SHA1 Message Date
3b73572c0f 解决右值引用存在returning语句时core的问题 2023-02-13 15:55:25 +08:00
a5fb68a3a2 在transformSetOperationTree遍历左右子树后,不立即对目标列类型进行处理,而是将targetlist缓存下来,待整棵树遍历完成后,将所有的targetlist汇总,此时每列从对应多个子查询的列类型选出一个合适类型,然后再递归遍历SetOperationStmt,处理每个节点的类型等操作,此时如果节点左右子节点某列类型为NULL,则使用选择出来的类型
回退所有针对union的修改

修改使允许两列 值为NULL且类型未知union操作后 产生的text类型目标列 可以与其它任意类型的列进行union或union all操作

增加文件末尾行

将添加在末尾的fastcheck用例往上移,避免合并冲突

修改 copy/equal/out/readfuncs.cpp

增加版本控制
2022-12-23 16:42:41 +08:00
ecf4c78cb2 Merge remote-tracking branch 'upstream/master' 2022-12-05 19:32:01 +08:00
0d771b4357 !2524 修复update和show errors产生的core问题
Merge pull request !2524 from pengjiong/fix_date
2022-12-03 02:18:18 +00:00
3a07b35cee Fix show error core and update user core. 2022-12-02 18:31:17 +08:00
ef0ab20012 support updatable view 2022-12-02 16:26:58 +08: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
760a13a29b !2416 【openGauss】insert支持后面的表达式右值带字段名
Merge pull request !2416 from laishenghao/right-ref
2022-11-30 13:13:16 +00:00
8274c4041d select_into_varlist 2022-11-29 23:40:06 +08:00
d9b7152231 fix the memcheck bugs about multi update 2022-11-15 21:20:33 +08:00
7880abfa60 检视意见修改:删除不必要初始化 2022-11-15 15:29:58 +08:00
adf53e20bb 增加insert语句支持右值字段引用功能 2022-11-14 15:12:08 +08:00
81f8d0cacd fix some bugs about multiple update and update...order by. 2022-11-07 15:01:44 +08:00
6d0373c4f8 issue_fix (update order by must with limit clause) 2022-10-26 18:09:51 +08:00
4bd9f4345f multi set 支持多set 2022-09-16 15:52:03 +08:00
b9a173661d skip locked 2022-09-09 10:23:40 +08:00
bdd6a6d933 REPLACE INTO feature for M gram mode
commit all files for replace into
2022-09-08 01:46:38 -04:00
b4a6881506 set session/global 增强 2022-09-06 09:27:30 +08:00
b919f404e8 add openGauss 3.1.0 feature code 2022-09-03 16:22:35 +08:00
5e987cdd3a !2069 实现兼容MySQL SET自定义用户变量的功能
Merge pull request !2069 from yuhuanhuan/demand_set
2022-08-31 14:22:28 +00:00
06f316894d 实现兼容MySQL SET自定义变量的功能 2022-08-31 20:30:49 +08:00
4d78dfed4b issue修复:增加ignore不支持列存错误提示 2022-08-31 15:05:55 +08:00
b31804e0fa Fix group by negative value core. 2022-08-22 16:19:49 +08:00
e91ae0c8cc issue修复:ignore插入时,若插入值类型与目标类型无转换规则,目标类型的默认零值无法被插入的问题修复 2022-07-30 10:01:24 +08:00
a8da82a0fb Implementation of keyword ignore: using hint string 2022-06-20 15:46:28 +08:00
59ff629c95 b_sql_plugin插件内核适配修改 2022-03-15 21:19:06 +08:00
de223dd152 sync code 2022-03-04 23:22:16 +08:00
e83f1300c8 !1465 修复升级未提交时创建带update的多事务、列存表relminmxid不为0以及ustore表获取外键锁失败的问题
Merge pull request !1465 from chenxiaobin/fk_bugfix
2022-02-23 09:47:00 +00:00
311c8d1cbb Fixes wrong planning for MOT queries 2022-02-22 20:05:04 +08:00
d183e96ae7 fix several bugs for enhance tuple lock 2022-01-21 11:58:06 +08:00
c7b25efcff New features (and bug fixes)
1. alter large sequence
    2. subpartition
    2.1 split subpartition
    2.2 truncate subpartition
    3. 支持load
    4. 支持start-with/connect-by
    5. ...
2021-12-29 21:33:28 +08:00
eaaf873a9f openGauss支持发布订阅 2021-12-16 23:20:10 +08:00
899cd4a36c enhance tuple lock 2021-12-16 20:37:27 +08:00
1d540f4462 Patch for 930 release 2021-09-23 15:19:37 +08:00
820483885a Add analyzer hook. 2021-08-28 15:35:56 +08:00
6a7eda6812 add db4ai 2021-08-05 17:00:58 +08:00
4d2c0d708e fix upsert core and cross-partition upsert 2021-07-26 10:16:01 +08:00
b8e6ff7a81 generated col 2021-07-08 20:37:29 +08:00
829ed77424 logical 2021-06-30 15:56:37 +08:00
3d79c59118 Misc bugfixes 2021-03-06 12:39:28 +08:00
1567043064 同步source code
日期: 12-26
    revision: ee5b054c
2020-12-28 22:19:21 +08:00
427d68ddba Fix MOT update indexed column check to be recursive 2020-11-30 10:24:45 +08:00
d0e747e47c add some methods and fix some bugs for db4ai 2020-11-09 21:13:04 +08:00
e171752f13 MOT code cleanup 2020-10-12 18:03:03 +08:00
4728c27ca8 !134 Support autonomous transaction
Merge pull request !134 from 江建宇/master
2020-08-29 17:26:45 +08:00
9d5c803894 !151 【openGauss】CREATE materialized views on global/local temp table is not supported
Merge pull request !151 from 宋清怡/master
2020-08-28 00:18:10 +08:00
a257e3b9a0 adapt matviews to global temp table: matviews can not be created on local/global temp table 2020-08-27 14:43:09 +08:00
e763a80cc5 add autonomous transaction. The original patch is from:
https://www.postgresql.org/message-id/attachment/45863/autonomous.patch
2020-08-25 22:12:31 +08:00
e936f40df7 UPSERT code 2020-08-25 09:44:34 +08:00
d5337ceca7 add materialized view feature to opengauss 2020-08-17 14:55:37 +08:00