Skip to content
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
22 changes: 11 additions & 11 deletions CN/antora.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: ivorysql-doc
title: 文档中心
version: v5.1
version: v5.3
start_page: welcome.adoc
asciidoc:
attributes:
source-language: asciidoc@
table-caption: false
ivorysql-version: 5.1
pg-version: 18.1
ivorysql-version: 5.3
pg-version: 18.3
package-link: 'https://github.com/ivorysql/ivorysql'
package-link-x86_64-deb: 'IvorySQL-5.1-62069c2-20251211.amd64.deb'
package-link-x86_64-rpm: 'IvorySQL-5.1-62069c2-20251211.x86_64.rpm'
package-link-aarch64-deb: 'IvorySQL-5.1-62069c2-20251211.arm64.deb'
package-link-aarch64-rpm: 'IvorySQL-5.1-62069c2-20251211.aarch64.rpm'
package-link-mips64el-deb: 'IvorySQL-5.1-62069c2-20251211.mips64el.deb'
package-link-mips64el-rpm: 'IvorySQL-5.1-62069c2-20251211.mips64el.rpm'
package-link-loongarch64-deb: 'IvorySQL-5.1-62069c2-20251211.loongarch64.deb'
package-link-loongarch64-rpm: 'IvorySQL-5.1-62069c2-20251211.loongarch64.rpm'
package-link-x86_64-deb: 'IvorySQL-5.3-62069c2-20260312.amd64.deb'
package-link-x86_64-rpm: 'IvorySQL-5.3-62069c2-20260312.x86_64.rpm'
package-link-aarch64-deb: 'IvorySQL-5.3-62069c2-20260312.arm64.deb'
package-link-aarch64-rpm: 'IvorySQL-5.3-62069c2-20260312.aarch64.rpm'
package-link-mips64el-deb: 'IvorySQL-5.3-62069c2-20260312.mips64el.deb'
package-link-mips64el-rpm: 'IvorySQL-5.3-62069c2-20260312.mips64el.rpm'
package-link-loongarch64-deb: 'IvorySQL-5.3-62069c2-20260312.loongarch64.deb'
package-link-loongarch64-rpm: 'IvorySQL-5.3-62069c2-20260312.loongarch64.rpm'
nav:
- modules/ROOT/nav.adoc
67 changes: 43 additions & 24 deletions CN/modules/ROOT/pages/1.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,49 +4,67 @@

== 版本概览

[*发布日期:20251218 日*]
[*发布日期:2026312 日*]

IvorySQL 5.1 基于 PostgreSQL 18.1 构建,包含多项错误修复。有关更新的完整列表,请访问我们的 https://docs.ivorysql.org/[文档站点]。
IvorySQL 5.3 基于 PostgreSQL 18.3 构建,包含多项错误修复。有关更新的完整列表,请访问我们的 https://docs.ivorysql.org/[文档站点]。

== 增强内容

- PostgreSQL 18.1
- PostgreSQL 18.3

1. 执行 CREATE STATISTICS 时检查 schema 上的 CREATE 权限。
2. 避免 libpq 中分配内存计算时发生整数溢出。
3. SQL/JSON 函数(如 JSON_VALUE)的 DEFAULT 子句中包含 COLLATE 表达式时,防止出现“未识别的节点类型”错误。
4. 避免在包含分组集且不含变量的 HAVING 子句中进行不正确的优化。
5. 在哈希右半连接中禁用并行处理。
6. 创建有序追加执行计划时避免可能的除零错误。
7. 修复规划器在处理“支持有序访问但不支持仅索引扫描的索引类型”时的失败问题。
1. 修复在重放由旧小版本生成的 multixid 截断 WAL 记录后出现的失败问题。
2. 修复将 substring() 应用于"toasted"数据时错误报告无效编码的问题。
3. 修复 CVE-2026-2007 修复中的遗漏问题。
4. 修复 json_strip_nulls() 和 jsonb_strip_nulls() 的易变性标记。
5. 修复 LATERAL UNION ALL 子查询输出中可能为空的外连接集合的计算问题。

更多详情,请参阅 https://www.postgresql.org/docs/release/18.1/[PostgreSQL 18.1 发布说明]。
更多详情,请参阅 https://www.postgresql.org/docs/release/18.3/[PostgreSQL 18.3 发布说明]。

- PostgreSQL 18.2

1. 防范 oidvector/int2vector 出现意外维度。
2. 加固选择性估算器,防止其被附加到接受意外数据类型的运算符上。
3. 修复 contrib/pgcrypto 的 PGP 解密函数中的缓冲区溢出问题。
4. 修复多字节字符长度验证不充分的问题。
5. 加固 contrib/pg_trgm,使其能应对字符串小写化行为的变化。

更多详情,请参阅 https://www.postgresql.org/docs/release/18.2/[PostgreSQL 18.2 发布说明]。

== 新特性

- 升级至 PG 18.1 内核:Feature https://github.com/IvorySQL/IvorySQL/pull/1004[#1004] +
PostgreSQL 内核已升级至 18.1 版本。
- 升级至 PG 18.3 内核:Feature https://github.com/IvorySQL/IvorySQL/pull/1199[#1199] +
PostgreSQL 内核已升级至 18.3 版本。

- http://trial.ivorysql.org/[在线体验]:IvorySQL 5.1:Feature https://github.com/IvorySQL/ivorysql-wasm/pull/6[#6] +
上线交互式浏览器环境,用户可实时体验与评估 IvorySQL v5.1,无需安装
- 升级至 PG 18.2 内核:Feature https://github.com/IvorySQL/IvorySQL/pull/1195[#1195] +
PostgreSQL 内核已升级至 18.2 版本

- 全平台打包:Feature https://github.com/IvorySQL/IvorySQL/issues/1136[#1136] +
- http://trial.ivorysql.org/[在线体验]:IvorySQL 5.3:Feature https://github.com/IvorySQL/ivorysql-wasm/pull/7[#7] +
上线交互式浏览器环境,用户可实时体验与评估 IvorySQL 5.3,无需安装。

- 全平台打包:+
为 X86、ARM、MIPS、龙芯架构等平台提供多架构安装介质。

- 容器化部署支持 +
支持通过 Docker Compose、Podman、Swarm、Helm 以及 IvorySQL 5.1 Operator 一键部署单机或高可用的 IvorySQL 5.1 集群。
支持通过 Docker Compose、Podman、Swarm、Helm 以及 IvorySQL 5.3 Operator 一键部署单机或高可用的 IvorySQL 5.3 集群。

- 发布 IvorySQL Cloud v5.1(统一全生命周期与可视化控制平台) +
- 发布 IvorySQL Cloud 5.3(统一全生命周期与可视化控制平台) +
提供可视化托管控制平台,覆盖订阅、端到端的全生命周期编排以及生态集成。

- PostgreSQL Extensions +
新增支持 10 个 PostgreSQL 扩展:pg_cron、pgAudit、PostGIS、pgRouting、PGroonga、ddlx、pgsql-http、system_stats、plpgsql_check、pgvector。

== 缺陷修复

- 清除编译警告:Issue https://github.com/IvorySQL/IvorySQL/issues/996[#996]
- PL/iSQL 解析器拒绝在 SELECT INTO 表达式中使用括号:Issue https://github.com/IvorySQL/IvorySQL/issues/981[#981]
- 源码安装过程中提示缺少 uuid-ossp:Issue https://github.com/IvorySQL/ivorysql_docs/pull/198[#198]
- 清除编译警告:PR https://github.com/IvorySQL/IvorySQL/pull/1190[#1190]
- 修复 ColumnRefOrFuncCall 的 raw_expression_tree_walker 问题:Issue https://github.com/IvorySQL/IvorySQL/issues/1182[#1182]
- 修复从 PostgreSQL 升级到 IvorySQL 失败的问题:Issue https://github.com/IvorySQL/IvorySQL/issues/1130[#1130]
- 改善 ivorysql.compatible_mode = 'pg' 时关于 plisql 用法的错误信息:PR https://github.com/IvorySQL/IvorySQL/pull/1178[#1178]
- 修复 liboracle_parser.c 中 token_is_col_id() 的数组越界读取问题:Issue https://github.com/IvorySQL/IvorySQL/issues/1159[#1159]
- 修复 psql 的 Tab 补全显示 INVISIBLEINCREMENT 的问题:Issue https://github.com/IvorySQL/IvorySQL/issues/1135[#1135]
- 修复嵌套函数表达式中变量重置的 Bug:Issue https://github.com/IvorySQL/IvorySQL/issues/1124[#1124]
- 修复 packages 和 subprocedures 中混用位置参数/命名参数时的类型强制转换失败问题:Issue https://github.com/IvorySQL/IvorySQL/issues/1006[#1006]
- 修复 package 过程从参数初始化局部变量时发生的段错误:Issue https://github.com/IvorySQL/IvorySQL/issues/1005[#1005]
- 修复因新年导致的回归测试失败问题:PR https://github.com/IvorySQL/IvorySQL/pull/1146[#1146]

== 源码仓库

Expand All @@ -58,11 +76,13 @@ IvorySQL 的主要代码仓库:
- IvorySQL Docker:https://github.com/IvorySQL/docker_library

== 贡献者名单

以下人员(按字母顺序)作为补丁作者、提交者、审阅者、测试者或问题报告者,为本次发布做出了贡献。

* Amberwww1

* Cédric Villemain
* Grant Zhou
* Pierre Forstmann
* Rophy Tsai
* Yasir Hussain Shah
* 高雪玉
Expand All @@ -76,7 +96,6 @@ IvorySQL 的主要代码仓库:
* 石卓妍
* 隋戈
* 陶郑
* 王志斌
* 杨世华
* 赵法威
* 张哲
* 张哲
22 changes: 11 additions & 11 deletions EN/antora.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: ivorysql-doc
title: IvorySQL
version: v5.1
version: v5.3
start_page: welcome.adoc
asciidoc:
attributes:
source-language: asciidoc@
table-caption: false
ivorysql-version: 5.1
pg-version: 18.1
ivorysql-version: 5.3
pg-version: 18.3
package-link: 'https://github.com/ivorysql/ivorysql'
package-link-x86_64-deb: 'IvorySQL-5.1-62069c2-20251211.amd64.deb'
package-link-x86_64-rpm: 'IvorySQL-5.1-62069c2-20251211.x86_64.rpm'
package-link-aarch64-deb: 'IvorySQL-5.1-62069c2-20251211.arm64.deb'
package-link-aarch64-rpm: 'IvorySQL-5.1-62069c2-20251211.aarch64.rpm'
package-link-mips64el-deb: 'IvorySQL-5.1-62069c2-20251211.mips64el.deb'
package-link-mips64el-rpm: 'IvorySQL-5.1-62069c2-20251211.mips64el.rpm'
package-link-loongarch64-deb: 'IvorySQL-5.1-62069c2-20251211.loongarch64.deb'
package-link-loongarch64-rpm: 'IvorySQL-5.1-62069c2-20251211.loongarch64.rpm'
package-link-x86_64-deb: 'IvorySQL-5.3-62069c2-20260312.amd64.deb'
package-link-x86_64-rpm: 'IvorySQL-5.3-62069c2-20260312.x86_64.rpm'
package-link-aarch64-deb: 'IvorySQL-5.3-62069c2-20260312.arm64.deb'
package-link-aarch64-rpm: 'IvorySQL-5.3-62069c2-20260312.aarch64.rpm'
package-link-mips64el-deb: 'IvorySQL-5.3-62069c2-20260312.mips64el.deb'
package-link-mips64el-rpm: 'IvorySQL-5.3-62069c2-20260312.mips64el.rpm'
package-link-loongarch64-deb: 'IvorySQL-5.3-62069c2-20260312.loongarch64.deb'
package-link-loongarch64-rpm: 'IvorySQL-5.3-62069c2-20260312.loongarch64.rpm'
nav:
- modules/ROOT/nav.adoc
69 changes: 43 additions & 26 deletions EN/modules/ROOT/pages/1.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,49 +5,67 @@

== Version Overview

[*Release Date: Dec 18, 2025*]
[*Release Date: Mar 12, 2026*]

IvorySQL 5.1 is built on PostgreSQL 18.1 and includes a variety of bug fixes. For a comprehensive list of updates, please visit our https://docs.ivorysql.org/[documentation site].
IvorySQL 5.3 is built on PostgreSQL 18.3 and includes a variety of bug fixes. For a comprehensive list of updates, please visit our https://docs.ivorysql.org/[documentation site].

== Enhancements

- PostgreSQL 18.1
- PostgreSQL 18.3

1. Check for CREATE privileges on the schema in CREATE STATISTICS.
2. Avoid integer overflow in allocation-size calculations within libpq.
3. Prevent “unrecognized node type” errors when a SQL/JSON function such as JSON_VALUE has a DEFAULT clause containing a COLLATE expression.
4. Avoid incorrect optimization of variable-free HAVING clauses with grouping sets.
5. Do not use parallelism in hash right semi joins.
6. Avoid possible division-by-zero when creating ordered-append plans.
7. Fix planner failure with index types that can do ordered access but not index-only scans.
1. Fix failure after replaying a multixid truncation record from WAL that was generated by an older minor version.
2. Avoid incorrect complaint of invalid encoding when substring() is applied to "toasted" data.
3. Fix oversight in the fix for CVE-2026-2007.
4. Fix the volatility marking of json_strip_nulls() and jsonb_strip_nulls().
5. Fix computation of the set of potentially-nulling outer joins for the output of a LATERAL UNION ALL subquery.

For further details, visit https://www.postgresql.org/docs/release/18.1/[PostgreSQL’s release notes].
For further details, visit https://www.postgresql.org/docs/release/18.3/[PostgreSQL's release notes].

- PostgreSQL 18.2

1. Guard against unexpected dimensions of oidvector/int2vector.
2. Harden selectivity estimators against being attached to operators that accept unexpected data types.
3. Fix buffer overrun in contrib/pgcrypto's PGP decryption functions.
4. Fix inadequate validation of multibyte character lengths.
5. Harden contrib/pg_trgm against changes in string lowercasing behavior.

For further details, visit https://www.postgresql.org/docs/release/18.2/[PostgreSQL's release notes].

== New Features

- Upgrade to PG 18.1 kernel: Feature https://github.com/IvorySQL/IvorySQL/pull/1004[#1004] +
PostgreSQL kernel upgraded to version 18.1.
- Upgrade to PG 18.3 kernel: Feature https://github.com/IvorySQL/IvorySQL/pull/1199[#1199] +
PostgreSQL kernel upgraded to version 18.3.

- Upgrade to PG 18.2 kernel: Feature https://github.com/IvorySQL/IvorySQL/pull/1195[#1195] +
PostgreSQL kernel upgraded to version 18.2.

- http://trial.ivorysql.org/[Online Experience]: IvorySQL 5.1: Feature https://github.com/IvorySQL/ivorysql-wasm/pull/6[#6] +
An interactive, browser-based environment will be launched to allow users to explore and evaluate IvorySQL 5.1 in real time — no installation required.
- http://trial.ivorysql.org/[Online Experience]: IvorySQL 5.3: Feature https://github.com/IvorySQL/ivorysql-wasm/pull/7[#7] +
An interactive, browser-based environment will be launched to allow users to explore and evaluate IvorySQL 5.3 in real time — no installation required.

- Packaging for All Platforms: Feature https://github.com/IvorySQL/IvorySQL/issues/1136[#1136] +
- Packaging for All Platforms: +
Provides multi-platform media packages for X86, ARM, MIPS, LoongArch architecture.

- Containerized Deployment Support +
Supports one-click deployment of standalone or highly available IvorySQL 5.1 clusters via Docker Compose, Podman, Swarm, Helm, and the IvorySQL 5.1 Operator.
Supports one-click deployment of standalone or highly available IvorySQL 5.3 clusters via Docker Compose, Podman, Swarm, Helm, and the IvorySQL 5.3 Operator.

- IvorySQL Cloud 5.1 released (Visual Database Lifecycle Management Platform) +
Offers a fully managed, graphical control plane that handles IvorySQL 5.1 database subscriptions, orchestrates end-to-end lifecycle operations, and integrates surrounding ecosystem services.
- IvorySQL Cloud 5.3 released (Visual Database Lifecycle Management Platform) +
Offers a fully managed, graphical control plane that handles IvorySQL 5.3 database subscriptions, orchestrates end-to-end lifecycle operations, and integrates surrounding ecosystem services.

- PostgreSQL Extensions +
Support for 10 Additional PostgreSQL Extensions: pg_cron, pgAudit, PostGIS, pgRouting, PGroonga, ddlx, pgsql-http, system_stats, plpgsql_check, pgvector.

== Fixed Issues

- Clear build warnings: Issue https://github.com/IvorySQL/IvorySQL/issues/996[#996]
- PL/iSQL Parser Rejects Parentheses in SELECT INTO Expression: Issue https://github.com/IvorySQL/IvorySQL/issues/981[#981]
- Doc:Fix reports missing uuid-ossp during source installation: Issue https://github.com/IvorySQL/ivorysql_docs/pull/198[#198]
- Clear build warnings: PR https://github.com/IvorySQL/IvorySQL/pull/1190[#1190]
- Fix raw_expression_tree_walker for ColumnRefOrFuncCall: Issue https://github.com/IvorySQL/IvorySQL/issues/1182[#1182]
- Fix the issue where upgrading from PostgreSQL to IvorySQL fails: Issue https://github.com/IvorySQL/IvorySQL/issues/1130[#1130]
- Improved error message about plisql usage is ivorysql.compatible_mode = 'pg': PR https://github.com/IvorySQL/IvorySQL/pull/1178[#1178]
- Fix array out-of-bounds read in token_is_col_id() - liboracle_parser.c: Issue https://github.com/IvorySQL/IvorySQL/issues/1159[#1159]
- Fix psql tab-completion showing INVISIBLEINCREMENT: Issue https://github.com/IvorySQL/IvorySQL/issues/1135[#1135]
- Fix variable reset bug in nested function expressions: Issue https://github.com/IvorySQL/IvorySQL/issues/1124[#1124]
- Fix type coercion failure with mixed positional/named parameters in packages and subprocedures: Issue https://github.com/IvorySQL/IvorySQL/issues/1006[#1006]
- Fix segfault when package procedure initializes local variable from parameter: Issue https://github.com/IvorySQL/IvorySQL/issues/1005[#1005]
- Fix regression failures caused by the new year: PR https://github.com/IvorySQL/IvorySQL/pull/1146[#1146]

== Source Code

Expand All @@ -62,23 +80,22 @@ IvorySQL's development is maintained across four main repositories:

The following individuals (in alphabetical order) have contributed to this release as patch authors, committers, reviewers, testers, or reporters of issues.

* Amberwww1
* Cédric Villemain
* Fawei Zhao
* Ge Sui
* Grant Zhou
* Oreo Yang
* Pierre Forstmann
* Rophy Tsai
* Shuntian Jiao
* Steven Niu
* Xiangyu Liang
* Xiaohui Liu
* Xinjie Lv
* Xinjie LYU
* Xueyu Gao
* Yasir Hussain Shah
* Yuan Li
* Zheng Tao
* Zhenhao Pan
* Zhe Zhang
* Zhibin Wang
* Zhuoyan Shi
* Zhuoyan Shi