From 02a31ac4ab7812791cb5d526781453619596d5b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabr=C3=ADzio=20de=20Royes=20Mello?= Date: Thu, 6 Jun 2024 14:55:06 -0300 Subject: [PATCH] Release 2.15.2 This release contains performance improvements and bug fixes since the 2.15.0 release. Best practice is to upgrade at the next available opportunity. **Migrating from self-hosted TimescaleDB v2.14.x and earlier** After you run `ALTER EXTENSION`, you must run [this SQL script](https://github.com/timescale/timescaledb-extras/blob/master/utils/2.15.X-fix_hypertable_foreign_keys.sql). For more details, see the following pull request [#6797](https://github.com/timescale/timescaledb/pull/6797). If you are migrating from TimescaleDB v2.15.0 or v2.15.1, no changes are required. **Bugfixes** * #6975: Fix sort pushdown for partially compressed chunks. * #6976: Fix removal of metadata function and update script. * #6978: Fix segfault in compress_chunk with primary space partition. * #6993: Disallow hash partitioning on primary column. **Thanks** * @gugu for reporting the issue with catalog corruption due to update. * @srieding for reporting an issue with partially compressed chunks and ordering on joined columns. --- .unreleased/pr_6978 | 1 - .unreleased/pr_6992 | 2 -- .unreleased/pr_6993 | 1 - .unreleased/pr_6996 | 2 -- CHANGELOG.md | 21 +++++++++++++++++++++ sql/CMakeLists.txt | 3 ++- sql/updates/2.15.1--2.15.2.sql | 0 version.config | 2 +- 8 files changed, 24 insertions(+), 8 deletions(-) delete mode 100644 .unreleased/pr_6978 delete mode 100644 .unreleased/pr_6992 delete mode 100644 .unreleased/pr_6993 delete mode 100644 .unreleased/pr_6996 create mode 100644 sql/updates/2.15.1--2.15.2.sql diff --git a/.unreleased/pr_6978 b/.unreleased/pr_6978 deleted file mode 100644 index 5cdd0d09c06..00000000000 --- a/.unreleased/pr_6978 +++ /dev/null @@ -1 +0,0 @@ -Fixes: #6978 Fix segfault in compress_chunk with primary space partition diff --git a/.unreleased/pr_6992 b/.unreleased/pr_6992 deleted file mode 100644 index ec994f97bbd..00000000000 --- a/.unreleased/pr_6992 +++ /dev/null @@ -1,2 +0,0 @@ -Fixes: #6975 Fix sort pushdown for partially compressed chunks -Thanks: @srieding for reporting an issue with partially compressed chunks and ordering on joined columns diff --git a/.unreleased/pr_6993 b/.unreleased/pr_6993 deleted file mode 100644 index a48483f3d46..00000000000 --- a/.unreleased/pr_6993 +++ /dev/null @@ -1 +0,0 @@ -Fixes: #6993 Disallow hash partitioning on primary column diff --git a/.unreleased/pr_6996 b/.unreleased/pr_6996 deleted file mode 100644 index e61d10d3ecd..00000000000 --- a/.unreleased/pr_6996 +++ /dev/null @@ -1,2 +0,0 @@ -Fixes: #6976 Fix removal of metadata function and update script -Thanks: @gugu for reporting the issue with catalog corruption due to update diff --git a/CHANGELOG.md b/CHANGELOG.md index 273ea7f6e98..2cac4872355 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,27 @@ `psql` with the `-X` flag to prevent any `.psqlrc` commands from accidentally triggering the load of a previous DB version.** +## 2.15.2 (2024-06-07) + +This release contains bug fixes since the 2.15.1 release. Best +practice is to upgrade at the next available opportunity. + +**Migrating from self-hosted TimescaleDB v2.14.x and earlier** + +After you run `ALTER EXTENSION`, you must run [this SQL script](https://github.com/timescale/timescaledb-extras/blob/master/utils/2.15.X-fix_hypertable_foreign_keys.sql). For more details, see the following pull request [#6797](https://github.com/timescale/timescaledb/pull/6797). + +If you are migrating from TimescaleDB v2.15.0 or v2.15.1, no changes are required. + +**Bugfixes** +* #6975: Fix sort pushdown for partially compressed chunks. +* #6976: Fix removal of metadata function and update script. +* #6978: Fix segfault in `compress_chunk` with a primary space partition. +* #6993: Disallow hash partitioning on primary column. + +**Thanks** +* @gugu for reporting the issue with catalog corruption due to update. +* @srieding for reporting an issue with partially compressed chunks and ordering on joined columns. + ## 2.15.1 (2024-05-28) This release contains bug fixes since the 2.15.0 release. diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt index 13edc6f0daa..c76866a07f8 100644 --- a/sql/CMakeLists.txt +++ b/sql/CMakeLists.txt @@ -38,7 +38,8 @@ set(MOD_FILES updates/2.14.0--2.14.1.sql updates/2.14.1--2.14.2.sql updates/2.14.2--2.15.0.sql - updates/2.15.0--2.15.1.sql) + updates/2.15.0--2.15.1.sql + updates/2.15.1--2.15.2.sql) # The downgrade file to generate a downgrade script for the current version, as # specified in version.config diff --git a/sql/updates/2.15.1--2.15.2.sql b/sql/updates/2.15.1--2.15.2.sql new file mode 100644 index 00000000000..e69de29bb2d diff --git a/version.config b/version.config index 2432eb7a117..52135df0c2e 100644 --- a/version.config +++ b/version.config @@ -1,3 +1,3 @@ version = 2.16.0-dev -update_from_version = 2.15.1 +update_from_version = 2.15.2 downgrade_to_version = 2.15.1