573423cac6
issue#I5KOL1 Use pthread_cond_timedwait instead of pthread_cond_wait to handle
...
m_readySessionList when all workers are idle
2022-08-23 13:27:51 +08:00
a4bdb7450b
!1648 关于plpython fencedMode下的gs_basebackupbug
...
Merge pull request !1648 from nwen/master
2022-08-23 02:42:32 +00:00
e3aa6631d2
!2042 parallel decoding fix walsender lsn bug 回合社区
...
Merge pull request !2042 from 薛蒙恩/paralell_decode
2022-08-23 01:48:14 +00:00
7f39807f24
!1985 修复SQL语句中同时出现窗口函数和子查询时因子查询被提升导致执行失败的问题
...
Merge pull request !1985 from april01xxx/first_value
2022-08-22 12:07:58 +00:00
5cc8be4749
parallel decoding fix walsender lsn bug
...
Signed-off-by: unknown <1836611252@qq.com >
2022-08-18 17:21:51 +08:00
c69474b03a
add computeHashHook
2022-08-11 14:41:13 +08:00
d1eb812ebd
!1521 修正SPI受自定义解析器影响而导致PL/pgSQL在启用自定义解析器时可能导致非逾期结果的问题
...
Merge pull request !1521 from bucoo/master
2022-08-11 03:09:59 +00:00
237c149924
!1771 openGauss支持在线reindex
...
Merge pull request !1771 from 花花怪/master
2022-08-10 03:07:31 +00:00
0735946ba3
!1970 CREATE DATABASE等三种语法兼容IF NOT EXISTS
...
Merge pull request !1970 from li_jianqiu/if_not_exists
2022-08-09 12:14:38 +00:00
9b1c78b622
code fix 8_01
2022-08-09 14:57:20 +08:00
6306c66888
!1996 修复gprc锁初始化的bug
...
Merge pull request !1996 from 胡正超/lwlockinit
2022-08-08 11:19:04 +00:00
8134c7e806
!1986 修改问题: 初始化后,系统表pg_proc的provariadic为无效值
...
Merge pull request !1986 from 胡正超/procva
2022-08-08 03:22:44 +00:00
eb08ec963b
!1974 提升事务中now()重复计算的性能
...
Merge pull request !1974 from junhangis/junhangis/performance/time_cache
2022-08-06 08:36:40 +00:00
41000e0be3
improve the performance of now()£¬current_time, current_date, etc.
...
CREATE or replace PROCEDURE t_now(num integer)
AS
DECLARE
n numeric :=0;
curtime timestamp;
BEGIN
LOOP
n := n + 1;
curtime := now();
EXIT WHEN n > num;
END LOOP;
END;
/
before optimization:
openGauss=# call t_now(1000000);
t_now
-------
(1 row)
Time: 4714.785 ms
after optimization:
openGauss=# call t_now(1000000);
t_now
-------
(1 row)
Time: 4575.570 ms
2022-08-05 17:42:14 +08:00
c5b915a5e6
REINDEX CONCURRENTLY
2022-08-04 20:22:04 +08:00
111ff9efc3
!1976 提升numeric计算时的性能
...
Merge pull request !1976 from junhangis/junhangis/performance/numeric_memory
2022-08-04 11:27:32 +00:00
646de4fa52
!1977 issue修复:ignore插入时,插入值类型与目标类型无转换规则时,无法按目标类型的默认零值插入的问题修复
...
Merge pull request !1977 from zhangzhixian/issue_fix_I5IBOV
2022-08-03 10:05:58 +00:00
7fb3136528
!1923 CREATE VIEW 和 ALTER VIEW支持通过DEFINER选项指定视图的属主
...
Merge pull request !1923 from Cross-罗/definer
2022-08-03 06:36:12 +00:00
761fee37b8
CREATE VIEW和ALTER VIEW支持DEFINER
2022-08-03 11:38:44 +08:00
07bf9b5a74
fix the bug of grpc lock initialization
2022-08-02 10:59:01 +08:00
c5946bc1fe
CREATE DATABASE等三种语法兼容IF NOT EXISTS
2022-08-01 17:18:39 +08:00
cd6341bbc2
!1881 mysql comment support: create table(column)/index comments
...
Merge pull request !1881 from 吴岳川/comment
2022-08-01 03:39:12 +00:00
e91ae0c8cc
issue修复:ignore插入时,若插入值类型与目标类型无转换规则,目标类型的默认零值无法被插入的问题修复
2022-07-30 10:01:24 +08:00
1c6332d508
Fix concurrent create dolphin bug.
2022-07-29 17:51:42 +08:00
7b7fc4ecf0
fix problem: pg_proc.provariadic is invalid after initdb
2022-07-29 09:41:21 +08:00
812f586beb
Reduce memory allocation and deallocation to improve the computational performance of numeric digits.
...
before optimization:
openGauss=# explain analyse select sqrt(t0) from t_numeric limit 10000000;
QUERY PLAN
-------------------------------------------------------------------------------------------
------------------------------------
Limit (cost=0.00..197973.49 rows=8386919 width=5) (actual time=0.054..167434.766 rows=838
8608 loops=1)
-> Seq Scan on t_numeric (cost=0.00..197973.49 rows=8386919 width=5) (actual time=0.05
3..166061.081 rows=8388608 loops=1)
Total runtime: 168495.866 ms
(3 rows)
Time: 168499.243 ms
after optimization:
openGauss=# explain analyse select sqrt(t0) from t_numeric limit 10000000;
QUERY PLAN
-------------------------------------------------------------------------------------------
------------------------------------
Limit (cost=0.00..197973.49 rows=8386919 width=5) (actual time=0.045..151376.445 rows=838
8608 loops=1)
-> Seq Scan on t_numeric (cost=0.00..197973.49 rows=8386919 width=5) (actual time=0.04
4..150108.807 rows=8388608 loops=1)
Total runtime: 152469.050 ms
(3 rows)
Time: 152472.278 ms
2022-07-28 21:58:16 +08:00
3b44473f19
修复SQL语句中同时出现窗口函数和子查询时因子查询被提升导致执行失败的问题。
2022-07-28 20:27:18 +08:00
46cdfe82c4
create table/comment support
2022-07-28 17:58:38 +08:00
fbf5f72233
!1941 新增codegen ir文件插件点
...
Merge pull request !1941 from pengjiong/array
2022-07-26 07:17:53 +00:00
fc5f028b22
allow infinity to timestamp
2022-07-26 10:12:36 +08:00
c034f1cfa7
解决issue -- 列存加唯一索引插100万数据慢问题
2022-07-23 14:47:31 +08:00
ee8a721a83
修正SPI受自定义解析器影响而导致PL/pgSQL在启用自定义解析器时可能导致非逾期结果的问题。
...
SPI接口以及pg_parse_query函数添加一个默认参数可使用户指定不同的语法解析函数,
而不是直接调用raw_parser函数是要为以后新增加其它PL准备。
比如新增加兼容MySQL或其它存储过程时,它需要使用自已的语法解析,
又因为相同的语句在不同的数据库下可能存在不同的语义,
所以不可能做到完全兼容PG的语法(即便可以,工作量也会非常大)。
2022-07-22 09:51:18 +08:00
9da57fdf70
!1908 issue处理:ignore_hint在interval分区表中插入null值时,报error而不是warning
...
Merge pull request !1908 from zhangzhixian/issue_handling_for_interval_partition
2022-07-20 10:33:18 +00:00
ffae76f123
ignore_hint: issue handling for interval partition condition, which cannot report warning when inserting null value
2022-07-19 10:58:44 +08:00
bd8d3424f8
Add codegen hook point.
2022-07-13 18:59:21 +08:00
44e3262d67
回合修改:bypass不支持interval分区表的提示信息优化
2022-07-12 19:01:40 +08:00
a038ba49eb
Added/augmented functions: decode/regexp_count/regexp_instr/regexp_replace/regexp_subst
2022-07-10 16:17:58 +08:00
16c1373304
!1919 修复并行创建函数时同时成功
...
Merge pull request !1919 from 仲夏十三/dolphin
2022-07-06 03:51:34 +00:00
bfb3754eb9
修复并行创建函数同时成功
2022-07-05 19:42:48 +08:00
c89a93b12b
!1880 change function from defGetBoolean to parse_bool
...
Merge pull request !1880 from 吴岳川/master
2022-06-23 09:29:27 +00:00
ea558fe889
!1874 修复删除订阅时逻辑复制槽不存在报错的问题
...
Merge pull request !1874 from chenxiaobin/initial_data
2022-06-23 01:53:38 +00:00
5f1620f617
!1790 IGNORE关键字实现:server部分
...
Merge pull request !1790 from zhangzhixian/master
2022-06-22 09:36:50 +00:00
6e3f441b6c
check if temporary replication slot of tablesync worker exist before dropping it
2022-06-22 14:12:12 +08:00
2a81d01ff6
change_function_from_defGetBoolean_to_parse_bool
2022-06-22 11:07:21 +08:00
dcf4f58a9e
Fix substr compat with pg.
2022-06-21 20:14:30 +08:00
00b088690d
!1728 修复没有fdw handler场景下对外表做DDL操作失败的问题
...
Merge pull request !1728 from pengjiong/logical_core
2022-06-21 11:24:24 +00:00
fdcce94b84
!1831 新增插件列存表函数hash,并在使用插件时进行hash表的替换
...
Merge pull request !1831 from Cross-罗/column_hash
2022-06-20 08:20:56 +00:00
a8da82a0fb
Implementation of keyword ignore: using hint string
2022-06-20 15:46:28 +08:00
17c986d684
!1835 添加execInitExprHook
...
Merge pull request !1835 from 仲夏十三/dolphin
2022-06-20 07:36:55 +00:00
b8b453a501
!1861 MYSQL兼容性:创建函数、存储过程指定用户
...
Merge pull request !1861 from liuyongzhen/definer
2022-06-20 07:33:39 +00:00