Skip to content

Commit

Permalink
Release 2.15.2 (#7014)
Browse files Browse the repository at this point in the history
This release contains bug fixes since the
2.15.1 release. Best practice is to upgrade at the next available
opportunity.

**Bugfixes**
* #6975: Fix sort pushdown for partially compressed chunks.
* #6976: Fix removal of metadata function and the update script.
* #6978: Fix segfault in `compress_chunk` with primary space partition.
* #6993: Disallow hash partitioning on the primary column.

**Thanks**
* @gugu for reporting the issue with catalog corruption due to update.
* @srieding for reporting the issue with partially compressed chunks and
ordering on joined columns.
  • Loading branch information
pallavisontakke authored Jun 7, 2024
1 parent 9812a45 commit 903847e
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .unreleased/RELEASE_NOTES_HEADER.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## {{ release_current }} ({{ release_date }})

This release contains performance improvements and bug fixes since
the {{ release_previous }} release. We recommend that you upgrade at the next
the {{ release_previous }} release. Best practice is to upgrade at the next
available opportunity.

In addition, it includes these noteworthy features:
Expand Down
1 change: 0 additions & 1 deletion .unreleased/pr_6978

This file was deleted.

2 changes: 0 additions & 2 deletions .unreleased/pr_6992

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/pr_6993

This file was deleted.

2 changes: 0 additions & 2 deletions .unreleased/pr_6996

This file was deleted.

2 changes: 1 addition & 1 deletion .unreleased/template.release_notes_header.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## {{ release_current }} ({{ release_date }})

This release contains performance improvements and bug fixes since
the {{ release_previous }} release. We recommend that you upgrade at the next
the {{ release_previous }} release. Best practice is to upgrade at the next
available opportunity.

In addition, it includes these noteworthy features:
Expand Down
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 the update script.
* #6978: Fix segfault in `compress_chunk` with a primary space partition.
* #6993: Disallow hash partitioning on the primary column.

**Thanks**
* @gugu for reporting the issue with catalog corruption due to update.
* @srieding for reporting the issue with partially compressed chunks and ordering on joined columns.

## 2.15.1 (2024-05-28)

This release contains performance improvements and bug fixes since
Expand Down
8 changes: 5 additions & 3 deletions sql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ 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
set(CURRENT_REV_FILE 2.15.1--2.15.0.sql)
set(CURRENT_REV_FILE 2.15.2--2.15.1.sql)
# Files for generating old downgrade scripts. This should only include files for
# downgrade from one version to its previous version since we do not support
# skipping versions when downgrading.
Expand Down Expand Up @@ -90,7 +91,8 @@ set(OLD_REV_FILES
2.14.1--2.14.0.sql
2.14.2--2.14.1.sql
2.15.0--2.14.2.sql
2.15.1--2.15.0.sql)
2.15.1--2.15.0.sql
2.15.2--2.15.1.sql)

set(MODULE_PATHNAME "$libdir/timescaledb-${PROJECT_VERSION_MOD}")
set(LOADER_PATHNAME "$libdir/timescaledb")
Expand Down
Empty file added sql/updates/2.15.1--2.15.2.sql
Empty file.
Empty file added sql/updates/2.15.2--2.15.1.sql
Empty file.
6 changes: 3 additions & 3 deletions version.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version = 2.15.1
update_from_version = 2.15.0
downgrade_to_version = 2.15.0
version = 2.15.2
update_from_version = 2.15.1
downgrade_to_version = 2.15.1

0 comments on commit 903847e

Please sign in to comment.