Commit Graph

6802 Commits

Author SHA1 Message Date
55b7512b43 支持gms_stats包 2024-06-27 14:05:53 +08:00
a23d5d1f54 fix bug: 整数右移31位存在溢出风险 2024-06-27 14:05:53 +08:00
102e675ecb 同步v3.0.5 gs_catalog_attribute_records 2024-06-27 14:05:52 +08:00
7119d44e32 修复按需回放实时构建,执行switchover时,主机coredump 2024-06-27 14:05:52 +08:00
660b7f42ca whale插件在处理while语句的时候调用GetRawParser获取raw_parser回调的时候只判断了dolphin类型 2024-06-27 14:05:52 +08:00
16a41e491c On branch page
Your branch is up to date with 'origin/page'.
 Changes to be committed:
	modified:   rawpage.cpp

 On branch page
 Your branch is up to date with 'origin/page'.
 Changes to be committed:
	modified:   rawpage.cpp

 On branch page
 Your branch is up to date with 'origin/page'.

 Changes to be committed:
	modified:   rawpage.cpp

 On branch page
 Your branch is up to date with 'origin/page'.

 Changes to be committed:
	modified:   rawpage.cpp

 On branch page
 Your branch is up to date with 'origin/page'.

 Changes to be committed:
	modified:   catalog.cpp

 On branch page
 Your branch is up to date with 'origin/page'.

 Changes to be committed:
	modified:   catalog.cpp

 On branch page
 Your branch is up to date with 'origin/page'.

 Changes to be committed:
	modified:   catalog.cpp

 On branch page
 Your branch is up to date with 'origin/page'.

 Changes to be committed:
	modified:   catalog.cpp

 On branch page
 Your branch is up to date with 'origin/page'.

 Changes to be committed:
	modified:   contrib/pageinspect/rawpage.cpp
	modified:   src/common/backend/catalog/catalog.cpp
2024-06-27 14:05:52 +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
3f02e65687 子查询中使用orderby数据丢失问题 2024-06-27 14:05:52 +08:00
de9df9f3c5 tlist/grouping_tlist合一
This reverts commit 9db36bd8b2d0934880f5576826db9864933f92aa.
2024-06-27 14:05:52 +08:00
4cb0057da9 gms_profiler权限修改 2024-06-27 14:05:52 +08:00
34b923b8c6 gms_profiler插件根据检视意见修改 2024-06-27 14:05:52 +08:00
a86fcd7808 gms_profiler插件根据检视意见修改 2024-06-27 14:05:52 +08:00
9817772f80 支持gms_profiler插件 2024-06-27 14:05:52 +08:00
bc8f54e02e 修复:OpenControlFileForDSS函数中部分errmsg未输出预期信息的问题 2024-06-27 14:05:52 +08:00
25e128bdb5 On branch pageinspect
Your branch is up to date with 'origin/pageinspect'.

 Changes to be committed:
	modified:   rawpage.cpp

 On branch pageinspect
 Your branch is up to date with 'origin/pageinspect'.

 Changes to be committed:
	modified:   rawpage.cpp

 On branch pageinspect
 Your branch is up to date with 'origin/pageinspect'.

 Changes to be committed:
	modified:   rawpage.cpp

 On branch pageinspect
 Your branch is up to date with 'origin/pageinspect'.

 Changes to be committed:
	modified:   rawpage.cpp

 On branch pageinspect
 Your branch is up to date with 'origin/pageinspect'.

 Changes to be committed:
	modified:   rawpage.cpp

 On branch pageinspect
 Your branch is up to date with 'origin/pageinspect'.
 Changes to be committed:
	modified:   rawpage.cpp

 On branch pageinspect
 Your branch is up to date with 'origin/pageinspect'.
 Changes to be committed:
	modified:   rawpage.cpp

 On branch pageinspect
 Your branch is up to date with 'origin/pageinspect'.
 Changes to be committed:
	modified:   rawpage.cpp

 On branch pageinspect
 Your branch is up to date with 'origin/pageinspect'.
 Changes to be committed:
	modified:   rawpage.cpp

 On branch pageinspect
 Your branch is up to date with 'origin/pageinspect'.
 Changes to be committed:
	modified:   rawpage.cpp

 On branch pageinspect
 Your branch is up to date with 'origin/pageinspect'.

 Changes to be committed:
	modified:   rawpage.cpp

 On branch pageinspect
 Your branch is up to date with 'origin/pageinspect'.

 Changes to be committed:
	modified:   rawpage.cpp

 On branch pageinspect
 Your branch is up to date with 'origin/pageinspect'.

 Changes to be committed:

 On branch pageinspect
 Your branch is up to date with 'origin/pageinspect'.

 Changes to be committed:
	modified:   rawpage.cpp
2024-06-27 14:05:52 +08:00
60eca894b8 IUDS性能优化 2024-06-27 14:05:52 +08:00
410a78e715 【资源池化】【optimize】failover场景非升主节点退线程成功存在误判为失败 2024-06-27 14:05:52 +08:00
33fc611933 修复层次查询未拷贝的where表达式引起的地址覆盖
修复层次查询where条件跨层引用core问题
修复多表join下,层次查询where条件不可用别名及伪列等问题
增强层次查询where条件下推逻辑
2024-06-27 14:05:52 +08:00
be94cc71b5 修复在层次查询中将where条件分割为join和非join,并将join条件下推 2024-06-27 14:05:52 +08:00
5ce3fc959d 修复handle_sigint分支判断条件 2024-06-27 14:05:52 +08:00
71edf8c7ac fix #I9K0TH gsql补全功能被中断导致内存泄露 2024-06-27 14:05:52 +08:00
c5e0f61072 【资源池化】【同步DMS】【同步CBB】 2024-06-27 14:05:52 +08:00
fc900c108d fix ecpg缺少包 2024-06-27 14:05:51 +08:00
bc188b3ec3 社区贡献 2024-06-27 14:05:51 +08:00
6b8c910168 强游标 2024-06-27 14:05:51 +08:00
814908724a 删除gs_ctl build参数--instance-id说明 2024-06-27 14:05:51 +08:00
7914224bb1 修复alter table modify的core问题 2024-06-27 14:05:51 +08:00
47d0eb1c7a fix bug 修复触发器内调用pkg公有变量无法获取正确pkgb变量值的问题 2024-06-27 14:05:51 +08:00
9334edb278 enable-relocation compile 2024-06-27 14:05:51 +08:00
e1212c6170 【bugfix】重构实时构建segworker处理段页式头页日志时,不再从主机要最新页面,而是保存到队列里 2024-06-27 14:05:51 +08:00
b460379918 修复实时构建时dw_init卡住问题 2024-06-27 14:05:51 +08:00
8fcb7b27e0 t 2024-06-27 14:05:51 +08:00
zzh
42b756ff0e pg_config文件修改 2024-06-27 14:05:51 +08:00
3f579861e8 修改备份恢复过程中数据块大小计算逻辑 2024-06-27 14:05:51 +08:00
516a482084 修复to_date函数第一个参数后面有多余空格时执行失败 2024-06-27 14:05:51 +08:00
d561d9e0e1 CREATE/ALTER INDEX支持设置可见性 2024-06-27 14:05:51 +08:00
add13d63d5 修复fetch_remote_table_info中的query 2024-06-27 14:05:51 +08:00
64d364b082 【标题】:修复I9HBFS所示的有脏数据导致unseable索引reindex失败的问题
【实现内容】: 修复I9HBFS所示的有脏数据导致unseable索引reindex失败的问题
【根因分析】: 因为openguass insert的时候会忽略掉unusable 索引,导致可以insert重复的数据,导致索引rebuild失败
【实现方案】: 参考pg的实现,insert数据的时候,把unseable索引也更新
【关联需求或issue】: https://gitee.com/opengauss/openGauss-server/issues/I9HBFS
2024-06-27 14:05:51 +08:00
57e758a4b2 【资源池化】【bugfix】解决reform开始startup线程存在的情况 2024-06-27 14:05:51 +08:00
zzh
71e05a9f99 修改数据库版本信息在不同内核工具下不一致问题 2024-06-27 14:05:51 +08:00
e47c39fc86 Fix ignore+opfusion+prepare 2024-06-27 14:05:51 +08:00
632579624f pg_event_trigger_ddl_commands查询不到alter table操作 2024-06-27 14:05:50 +08:00
879e3343c8 【资源池化】【optimize】备节点业务线程在获取快照时能够退出,如果遇到reform中要求线程退出场景 2024-06-27 14:05:50 +08:00
737e43e22c Enhance the reliability of the uwal feature 2024-06-27 14:05:50 +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
223fcbe3e9 B库下非严格模式时支持往非空约束列插入空值 2024-06-27 14:05:50 +08:00
d50c38d2d2 修复UserVar无效collation的问题 2024-06-27 14:05:50 +08:00
0ef5579fca 修复子查询中同时包含DISTINCT ON和ORDER BY子句时误将ORDER BY子句消除导致结果集错误的问题。 2024-06-27 14:05:50 +08:00
49a390200c 优化pg_log盘满报错信息 2024-06-27 14:05:50 +08:00
3dd0cdc569 处理issue:创建package的时候,校验package内的函数schema与package的schema是否一致 2024-06-27 14:05:50 +08:00