From f7ae3e5e3acd197afc14ebaf715893992c4e8b92 Mon Sep 17 00:00:00 2001 From: Horimoto Yasuhiro Date: Mon, 1 Jun 2026 18:40:30 +0900 Subject: [PATCH 1/2] Add 4.0.7 entry --- news/index.md | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/news/index.md b/news/index.md index 197fa8a6..728bcaed 100644 --- a/news/index.md +++ b/news/index.md @@ -5,7 +5,51 @@ upper_level: ../ # News -## 4.0.6: 2026-04-07 {#version-4-0-7} +## 4.0.7: 2026-06-02 {#version-4-0-7} + +### Improvements + +#### [[Ubuntu][ubuntu]] Added support for for Ubuntu 24.06 (Resolute Raccoon) + +#### Added an option for indexing larger-scale data + +Internally, PGroonga indexes are created as a Groonga table. +PGroonga adds index to this table. +By default, this table is created in `TABLE_PAT_KEY`. + +By default, The total key size of Groonga's `TABLE_PAT_KEY` is 4GiB. +While this is usually sufficient, environments wite large data may throw a "total key size is over" error when adding data. + +This improvement introduces a new mode that the total key size of Groonga's `TABLE_PAT_KEY` from 4 Gib to 1 TiB. +This feature can be enables using the `lexicon_flags_mapping` option as below: + + +```sql +CREATE TABLE memos ( + content text +); + +CREATE INDEX pgrn_index ON memos + USING pgroonga (content) + WITH (lexicon_flags_mapping = '{ + "content": ["LARGE"] + }'); +``` + +Currently, only `LARGE` can be specified for this option. + +### Fixes + +#### Fixed a bug where PGroonga for Windows was built in debug mode + +[GH-954]( https://github.com/pgroonga/pgroonga/issues/954 )[Reported by r-setoyama] + +If PGroonga was built in debug mode, it required the debug runtime DLLs when loaded. +However, these debug runtime DLLs do not exist in a standard Windows environment. + +As a result, PGroonga for Windows may fail to start up. + +## 4.0.6: 2026-04-07 {#version-4-0-6} ### Improvements From 38e9fc8894615c4e7ea0a3c0b08a1684790f35b3 Mon Sep 17 00:00:00 2001 From: Horimoto Yasuhiro Date: Tue, 7 Jul 2026 11:32:18 +0900 Subject: [PATCH 2/2] Add contents and Thanks --- news/index.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/news/index.md b/news/index.md index 728bcaed..fc000dd0 100644 --- a/news/index.md +++ b/news/index.md @@ -5,7 +5,7 @@ upper_level: ../ # News -## 4.0.7: 2026-06-02 {#version-4-0-7} +## 4.0.7: 2026-07-08 {#version-4-0-7} ### Improvements @@ -40,6 +40,13 @@ Currently, only `LARGE` can be specified for this option. ### Fixes +#### Fixed a bug that UUID columns truncated to 32 bytes in PGroonga index read path + +[GH-947]( https://github.com/pgroonga/pgroonga/issues/947 )[Reported by Xuguang Wang] + +The bug only manifests when PGroonga reads UUID values back from index storage (Index Only Scan, or multi-column index with NOT NULL columns) plain. +Index Scan and Bitmap Heap Scan fetch from the heap and are unaffected. + #### Fixed a bug where PGroonga for Windows was built in debug mode [GH-954]( https://github.com/pgroonga/pgroonga/issues/954 )[Reported by r-setoyama] @@ -49,6 +56,15 @@ However, these debug runtime DLLs do not exist in a standard Windows environment As a result, PGroonga for Windows may fail to start up. +#### Fixed a crash when an UPDATE statement with a WHERE clause and VACUUM are executed concurrently + +... + +### Thanks + +- Xuguang Wang +- r-setoyama + ## 4.0.6: 2026-04-07 {#version-4-0-6} ### Improvements