Commit Graph

367 Commits

Author SHA1 Message Date
a3fdc8262a !5981 修改\d查询表信息的storage_type大小写的不一致问题
Merge pull request !5981 from 王明轩/master
2024-08-12 12:18:51 +00:00
39231e3991 修改\d查询表信息的storage_type大小写的不一致问题 2024-08-10 10:09:27 +08:00
53b349d849 逻辑复制支持Alter table的DDL语句 2024-08-08 17:45:00 +08:00
b77b6b371f optimize GSC memory state
Offering: openGaussDev
More detail: optimize GSC memory state
2024-08-06 15:28:04 +08:00
96971374f8 !5848 A兼容模式下,修改float列类型时添加验证
Merge pull request !5848 from zhubin79/alter-float
2024-08-02 01:57:49 +00:00
c71c3d044b 修改列numeric、float数据类型时,添加验证 2024-08-01 18:40:58 +08:00
6a06f39a13 !5854 新增内置函数 gs_get_hba_conf ()
Merge pull request !5854 from james/hba9
2024-07-29 09:44:48 +00:00
c9f247afd7 add hba conf again 2024-07-29 10:38:27 +08:00
3e34295926 !5871 B库支持创建分区表时指定不小于MAXVALUE的值
Merge pull request !5871 from chenxiaobin/fixBpartition
2024-07-27 02:16:36 +00:00
fd6219e480 !5770 使用GMS_OUTPUT.PUT_LINE 报错异常 加上插件后core了
Merge pull request !5770 from 雷紫薇/bug133237
2024-07-27 02:09:33 +00:00
621008d477 支持向量数据库datavec并行创建索引 2024-07-26 14:19:31 +08:00
b7cd8b830a B库支持创建分区表时指定大于MAXVALUE 2024-07-25 21:46:54 +08:00
2afbe6fb56 support smp for functionscan with cursor arg 2024-07-17 16:29:05 +08:00
65da7e14f4 support smp cursor 2024-07-17 16:27:53 +08:00
3a3e54a07a !5786 处理issue: 两个package body都有初始化匿名块,package嵌套调用,编译时会死循环导致爆栈
Merge pull request !5786 from lukeman/plsql_pr
2024-07-17 06:47:10 +00:00
440f849f08 处理issue: 两个package body都有初始化匿名块,package嵌套调用,编译时会死循环导致爆栈 2024-07-16 22:29:22 +08:00
c59d0861dc TO_BINARY_FLOAT 函数实现、IS [NOT] NAN与IS [NOT] INFINITE表达式实现 2024-07-16 14:15:35 +08:00
6f25f4b4a7 cursor不带sql语句时在打开cursor时初始化rowtype 2024-07-12 11:29:51 +00:00
46956673c4 support float & numeric with negative scale 2024-07-04 09:15:58 +08:00
ca44bc145f dolphin: add null first policy api 2024-06-27 22:02:17 +08:00
77f03fb936 pipelined语法支持 2024-06-27 15:09:03 +08:00
dcda84c333 toast场景优化 2024-06-27 15:09:03 +08:00
99cd706e43 支持gms_output包 2024-06-27 15:07:17 +08:00
92307c5590 Add ignore keyword feature. 2024-06-27 15:07:17 +08:00
e5cf0275b9 编译告警清理 2024-06-27 14:05:55 +08:00
9156771c63 支持启用禁用table约束需求 2024-06-27 14:05:55 +08:00
162bedd04d 完善游标rowtype功能 2024-06-27 14:05:55 +08:00
10792755a0 support show any tuple 2024-06-27 14:05:54 +08:00
f6fa355dc4 支持游标参数默认值 2024-06-27 14:05:53 +08:00
b186cd1555 Allow plan cache result type to revalidate on the fly
Usually, when a relation gets changed by a DB user, an invalidation
message is sent to the shared context. Plancache will revalidate
this behavior multiple times during the execution so that if the
base relation changes, the cached plan will be updated accordingly.

However, Postgres does not allow the resulting attributes to change
because changing the query's result on the fly requires extra hand-
ling on the user application, which is out of the DB kernel's
control. Also, it will generate unwanted behavior in a concurrent
transactional application.

Due to the user's heavy request, we are allowing this in this patch
and introduced a new POSTMASTER GUC to control this behavior. This
GUC is a POSTMASTER type because the result-checking behavior is a
flag (i.e., an intrinsic attribute) of the plan cache, initially
only for transactional statements. We need to ensure that when the
user changes the GUC, no plan cache is working at the time.
2024-06-27 14:05:52 +08:00
34b923b8c6 gms_profiler插件根据检视意见修改 2024-06-27 14:05:52 +08:00
9817772f80 支持gms_profiler插件 2024-06-27 14:05:52 +08:00
60eca894b8 IUDS性能优化 2024-06-27 14:05:52 +08:00
8c057de92f 合入PG补丁Create the infrastructure for planner support functions.
PG提交号:1fb57af9
1. 简化升级和防止系统表无意义膨胀,没有修改 pg_proc 的列名,
  因列定义发生变化,更改GRAND版本。
2. 没有合入语法支持部分以及文档,也就是不支持CREATE FUNCTION ... SUPPORT
  语法,只支持内置函数的support函数。
3. 时区相关transform函数已在openGauss移除,本次不涉及。
4. 函数定义(pg_get_functiondef)暂不输出SUPPORT。
2024-06-27 14:05:50 +08:00
3fa4361f63 处理issue:循环依赖编译死锁问题 2024-06-27 14:05:48 +08:00
5d6b4462a3 !4920 修复B库subscription check失败问题
Merge pull request !4920 from chenxiaobin/fixSubCheck
2024-03-18 01:35:33 +00:00
daedfe9e2f !4736 解决interval分区表并发插入时自增重复范围分区的问题。(在消费无效消息后,本地缓存中relation的信息不是最新)
Merge pull request !4736 from playrest/master-commit-1
2024-03-12 09:20:37 +00:00
7435bcd386 修复B库subscription check失败问题 2024-03-05 10:50:39 +08:00
d639505758 向量数据库功能内核相关(pgvector插件依赖) 2024-02-28 17:28:38 +08:00
b9e819795f 子查询场景去除多余的distinct和group by子句 2024-02-22 20:48:11 +08:00
2ef5b54687 解决interval分区表并发插入时自增重复范围分区的问题。(在消费无效消息后,本地缓存中relation的信息不是最新)
当第一次打开分区relation时,不在缓存中需要build,build过程中获取了分区信息后,收到并处理其他会话自增分区的无效消息,
处理无效消息时,发现缓存中没有,则不做任何处理,最终导致生成的realtion中不包含新增的分区,但是无效消息却消费了,
最后通过relation->partMap判断分区不存在,自增分区,出现重复范围的分区。
推理可得,在处理无效消息时,realtion已存在缓存中,并且已打开过,在rebuild的时候存在同样的问题,在嵌套rebuild中,
内层消费无效消息并获取最新元信息,最终会被最外层的rebuild的relation覆盖。
2024-02-21 18:55:14 +08:00
6715a7d4fb bugfix:分区表达式计算结果为null时,将结果作为null处理,而不是作为0处理 2024-02-19 11:13:39 +08:00
b1a37cdc95 autovacuum worker should load dolphin. 2024-02-07 10:39:20 +08:00
d5c06de0a6 修复大分区表数量时频繁内存不足问题 2024-01-22 20:14:25 +08:00
27d62c009e 资源池化rto优化 2024-01-16 19:19:54 +08:00
d07a2cfb27 处理isuue:声明定义带返回值和out参数的函数,修改behavior_compat_options后,执行函数core 2024-01-12 14:28:59 +08:00
1d73a0b01f !4463 需求:堆表支持预读,堆表、索引支持预拓展
Merge pull request !4463 from songlinxuan/master
2024-01-05 08:17:25 +00:00
abebe5f89d 修复数组计算元素个数整数溢出问题 2024-01-04 20:24:40 +08:00
f8f7c12446 需求:堆表支持预读 2024-01-03 15:37:28 +08:00
540cc7ee81 !4693 解决issue:视图以内链接的方式创建,在删除某个表的列后,查询视图会core dump
Merge pull request !4693 from lukeman/master
2024-01-03 02:04:43 +00:00