Skip to content

Update 4.5 release note #127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CN/antora.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: ivorysql-doc
title: IvorySQL
version: v4.4
start_page: v4.4/welcome.adoc
version: v4.5
start_page: v4.5/welcome.adoc
asciidoc:
attributes:
source-language: asciidoc@
Expand Down
62 changes: 31 additions & 31 deletions CN/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
* xref:v4.4/welcome.adoc[欢迎]
* xref:v4.4/1.adoc[发行说明]
* xref:v4.4/2.adoc[关于IvorySQL]
* xref:v4.5/welcome.adoc[欢迎]
* xref:v4.5/1.adoc[发行说明]
* xref:v4.5/2.adoc[关于IvorySQL]
* IvorySQL入门
** xref:v4.4/3.adoc[快速开始]
** xref:v4.4/4.adoc[日常监控]
** xref:v4.4/5.adoc[日常维护]
** xref:v4.5/3.adoc[快速开始]
** xref:v4.5/4.adoc[日常监控]
** xref:v4.5/5.adoc[日常维护]
* IvorySQL高级
** xref:v4.4/6.adoc[安装指南]
** xref:v4.4/7.adoc[集群搭建]
** xref:v4.4/8.adoc[开发者指南]
** xref:v4.4/9.adoc[运维管理指南]
** xref:v4.4/10.adoc[迁移指南]
** xref:v4.5/6.adoc[安装指南]
** xref:v4.5/7.adoc[集群搭建]
** xref:v4.5/8.adoc[开发者指南]
** xref:v4.5/9.adoc[运维管理指南]
** xref:v4.5/10.adoc[迁移指南]
* IvorySQL生态
** xref:v4.4/11.adoc[PostGIS]
** xref:v4.4/12.adoc[pgvector]
** xref:v4.5/11.adoc[PostGIS]
** xref:v4.5/12.adoc[pgvector]
* IvorySQL架构设计
** 查询处理
*** xref:v4.4/31.adoc[双parser]
*** xref:v4.5/31.adoc[双parser]
** 兼容框架
*** xref:v4.4/30.adoc[initdb过程]
*** xref:v4.5/30.adoc[initdb过程]
* Oracle兼容功能列表
** xref:v4.4/14.adoc[1、框架设计]
** xref:v4.4/15.adoc[2、GUC框架]
** xref:v4.4/16.adoc[3、大小写转换]
** xref:v4.4/17.adoc[4、双模式设计]
** xref:v4.4/18.adoc[5、兼容Oracle like]
** xref:v4.4/19.adoc[6、兼容Oracle匿名块]
** xref:v4.4/20.adoc[7、兼容Oracle函数与存储过程]
** xref:v4.4/21.adoc[8、内置数据类型与内置函数]
** xref:v4.4/22.adoc[9、新增Oracle兼容模式的端口与IP]
** xref:v4.4/26.adoc[10、XML函数]
** xref:v4.4/27.adoc[11、兼容Oracle sequence]
** xref:v4.4/28.adoc[12、包]
** xref:v4.4/29.adoc[13、不可见列]
* xref:v4.4/32.adoc[社区贡献指南]
* xref:v4.4/24.adoc[工具参考]
* xref:v4.4/25.adoc[FAQ]
** xref:v4.5/14.adoc[1、框架设计]
** xref:v4.5/15.adoc[2、GUC框架]
** xref:v4.5/16.adoc[3、大小写转换]
** xref:v4.5/17.adoc[4、双模式设计]
** xref:v4.5/18.adoc[5、兼容Oracle like]
** xref:v4.5/19.adoc[6、兼容Oracle匿名块]
** xref:v4.5/20.adoc[7、兼容Oracle函数与存储过程]
** xref:v4.5/21.adoc[8、内置数据类型与内置函数]
** xref:v4.5/22.adoc[9、新增Oracle兼容模式的端口与IP]
** xref:v4.5/26.adoc[10、XML函数]
** xref:v4.5/27.adoc[11、兼容Oracle sequence]
** xref:v4.5/28.adoc[12、包]
** xref:v4.5/29.adoc[13、不可见列]
* xref:v4.5/32.adoc[社区贡献指南]
* xref:v4.5/24.adoc[工具参考]
* xref:v4.5/25.adoc[FAQ]
93 changes: 0 additions & 93 deletions CN/modules/ROOT/pages/v4.4/1.adoc

This file was deleted.

79 changes: 79 additions & 0 deletions CN/modules/ROOT/pages/v4.5/1.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
:sectnums:
:sectnumlevels: 5


== 版本概览

[**发行日期:2025年06月04日**]


IvorySQL 4.5,基于PostgreSQL 17.5,并修复了多个问题。有关更新的完整列表,请访问我们的 https://docs.ivorysql.org/[文档网站] 。

== 增强功能及问题修复

- PostgreSQL 17.5

1. 修复了在检查声明为 GB18030 编码的无效字符串时,可能发生的一字节缓冲区超读(one-byte buffer overread)问题,增强了系统处理无效编码数据的稳健性。
2. 确保对分区表上存在的自引用外键(self-referential foreign keys)进行正确处理,提升了复杂数据结构下分区表的可靠性。
3. 避免了在 brin_bloom_union() 函数中合并已压缩的 BRIN 摘要(summaries)时,可能发生的数据丢失风险,保障了索引数据的准确性。
4. 修正了在嵌套 WITH 子句中的 INSERT/UPDATE/DELETE/MERGE 命令所附带的 WITH 子句内,对外部公共表表达式(CTE)名称引用时的处理逻辑,确保了复杂查询的正确执行。
5. 修复了 ALTER TABLE ADD COLUMN 命令,以确保在添加列时,能够正确处理包含默认值的域(domain)类型,提高了表结构变更操作的准确性

+

更多细节, 请参阅 https://www.postgresql.org/docs/release/17.5/[PostgreSQL发布说明].

- IvorySQL 4.5

1. MIPS 全平台打包支持:特性 https://github.com/IvorySQL/IvorySQL/issues/736[#736]
+
为 MIPS 架构提供多平台介质包,支持国内外主流操作系统,包括 Red Hat、Debian、麒麟、UOS、凝思等。

2. 新增IvorySQL 在线体验平台:特性 https://github.com/IvorySQL/ivorysql-wasm/issues/1[#1]
+
提供一个基于 Web 的平台,用户可直接通过浏览器界面在线体验 IvorySQL V4.5 并进行数据库交互。

3. 新增社区行为准则:特性 https://github.com/IvorySQL/IvorySQL/issues/808[#808]
+
为社区参与者明确了行为规范和期望,旨在营造一个友好且互相尊重的社区环境。

4. 更新社区贡献指南:特性 https://github.com/IvorySQL/ivorysql_docs/pull/121[#121]
+
对社区贡献流程、规范和最佳实践进行了修订与完善,方便贡献者参与。

5. 实现文档构建与网站更新自动化:特性 https://github.com/IvorySQL/ivorysql_docs/issues/115[#115]
+
通过 Pull Request (PR) 自动触发文档构建及官方网站内容更新流程。

6. 改进贡献者工作流程,通过 /assign 命令自我分配任务:特性 https://github.com/IvorySQL/ivorysql_docs/issues/109[#109]

7. IvorySQL Operator V4 适配 IvorySQL 4.5:特性 https://github.com/IvorySQL/ivory-operator/pull/79[#79]

== 源代码

IvorySQL主要包含2个代码仓库:

* IvorySQL数据库源码: https://github.com/IvorySQL/IvorySQL
* IvorySQL官方网站: https://github.com/IvorySQL/Ivory-www

== 贡献人员
以下个人(按姓氏排序)作为补丁作者、提交者、审查者、测试者或问题报告者为此版本做出了贡献。

- Cary Huang
- Denis Lussier
- Flyingbeecd
- Grant Zhou
- 高雪玉
- 矫顺田
- 纪虎林
- 梁翔宇
- 吕新杰
- 牛世继
- 潘振浩
- 隋戈
- 陶郑
- 王康
- 王守波
- 杨世华
- 赵法威
- 邹仁利
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ $ createdb orcl

$ psql

psql (17.2)
psql (17.5)

Type "help" for help.

Expand Down Expand Up @@ -477,7 +477,7 @@ ivorysql=#
```
$ psql orcl

psql (17.2)
psql (17.5)

Type "help" for help.

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ HNSW (Hierarchical Navigating Small World) 是一种基于图的索引算法,
== 安装
[TIP]
====
环境中已经安装了IvorySQL4.2及以上版本,安装路径为/usr/local/ivorysql/ivorysql-4
环境中已经安装了IvorySQL4.5及以上版本,安装路径为/usr/local/ivorysql/ivorysql-4
====

=== 源码安装
Expand All @@ -49,7 +49,7 @@ sudo --preserve-env=PG_CONFIG make install
** 创建pgvector扩展
```
[ivorysql@localhost ivorysql-4]$ psql
psql (17.2)
psql (17.5)
Type "help" for help.

ivorysql=# create extension vector;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,16 @@ IvorySQL是一个功能强大的开源对象关系数据库管理系统(ORDBMS)

== 与Oracle的兼容性

* https://docs.ivorysql.org/cn/ivorysql-doc/v4.4/v4.4/14[ivorysql框架设计]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.4/v4.4/15[GUC框架]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.4/v4.4/16[大小写转换]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.4/v4.4/17[双模式设计]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.4/v4.4/18[兼容Oracle like]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.4/v4.4/19[兼容Oracle匿名块]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.4/v4.4/20[兼容Oracle函数与存储过程]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.4/v4.4/21[内置数据类型与内置函数]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.4/v4.4/22[新增Oracle兼容模式的端口与IP]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.4/v4.4/26[XML函数]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.4/v4.4/27[兼容Oracle sequence]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.4/v4.4/28[包]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.4/v4.4/29[不可见列]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.5/v4.5/14[ivorysql框架设计]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.5/v4.5/15[GUC框架]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.5/v4.5/16[大小写转换]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.5/v4.5/17[双模式设计]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.5/v4.5/18[兼容Oracle like]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.5/v4.5/19[兼容Oracle匿名块]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.5/v4.5/20[兼容Oracle函数与存储过程]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.5/v4.5/21[内置数据类型与内置函数]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.5/v4.5/22[新增Oracle兼容模式的端口与IP]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.5/v4.5/26[XML函数]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.5/v4.5/27[兼容Oracle sequence]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.5/v4.5/28[包]
* https://docs.ivorysql.org/cn/ivorysql-doc/v4.5/v4.5/29[不可见列]
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ IvorySQL由一个核心开发团队维护,该团队拥有对GitHub上的IvoryS

== **贡献者指南**

在贡献之前,我们需要了解下IvorySQL目前的版本以及文档的版本。目前,我们维护着4.2等版本,我们的版本紧跟PG的更新步伐,贡献之前请更新至最新版本。之后我们需要细心浏览一下贡献的样式风格,熟悉代码贡献风格、提Issue样式、拉取PR标题样式、代码注释样式、文档贡献样式、文章贡献样式,这可以帮助您尽快成为IvorySQL的贡献者奥~。
在贡献之前,我们需要了解下IvorySQL目前的版本以及文档的版本。目前,我们维护着4.5等版本,我们的版本紧跟PG的更新步伐,贡献之前请更新至最新版本。之后我们需要细心浏览一下贡献的样式风格,熟悉代码贡献风格、提Issue样式、拉取PR标题样式、代码注释样式、文档贡献样式、文章贡献样式,这可以帮助您尽快成为IvorySQL的贡献者奥~。

=== 贡献前的准备

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading