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
1 change: 0 additions & 1 deletion .unreleased/pr_7766

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

36 changes: 33 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,38 @@
# TimescaleDB Changelog

**Please note: When updating your database, you should connect using
This page lists all the latest features and updates to TimescaleDB. When you use psql to update your database, use the -X flag and prevent any .psqlrc commands from accidentally triggering the load of a previous DB version.
accidentally triggering the load of a previous DB version.**
This page lists all the latest features and updates to TimescaleDB. When
you use psql to update your database, use the -X flag and prevent any .psqlrc
commands from accidentally triggering the load of a previous DB version.**

## 2.22.1 (2025-09-30)

This release contains performance improvements and bug fixes since the [2.22.0](https://github.com/timescale/timescaledb/releases/tag/2.20.0) release. We recommend that you upgrade at the next available opportunity.

This release blocks the ability to leverage **concurrent refresh policies** in **hierarchical continous aggregates**, as potential deadlocks can occur.
If you have [concurrent refresh policies](https://docs.tigerdata.com/use-timescale/latest/continuous-aggregates/refresh-policies/#add-concurrent-refresh-policies) in **hierarchical** continous aggregates, [please disable the jobs](https://docs.tigerdata.com/api/latest/jobs-automation/alter_job/#samples), as following:

```
SELECT alter_job("<job_id_of_concurrent_policy>", scheduled => false);
```

**Bugfixes**
* [#7766](https://github.com/timescale/timescaledb/pull/7766) Load the OSM extension in the retention background worker to drop tiered chunks
* [#8550](https://github.com/timescale/timescaledb/pull/8550) Error in gapfill with expressions over aggregates, groupby columns, and out-of-order columns
* [#8593](https://github.com/timescale/timescaledb/pull/8593) Error on change of invalidation method for continuous aggregate
* [#8599](https://github.com/timescale/timescaledb/pull/8599) Fix the attnum mismatch bug in chunk constraint checks
* [#8607](https://github.com/timescale/timescaledb/pull/8607) Fix the interrupted continous aggregate refresh materialization phase that leaves behind pending materialization ranges
* [#8638](https://github.com/timescale/timescaledb/pull/8638) `ALTER TABLE RESET` for `orderby` settings
* [#8644](https://github.com/timescale/timescaledb/pull/8644) Fix the migration script for sparse index configuration
* [#8657](https://github.com/timescale/timescaledb/pull/8657) Fix `CREATE TABLE WITH` when using UUIDv7 partitioning
* [#8659](https://github.com/timescale/timescaledb/pull/8659) `ALTER TABLE` commands to foreign data wrapper chunks not propogated.
* [#8693](https://github.com/timescale/timescaledb/pull/8693) Compressed index not chosen for `varchar` typed `segmentby` columns
* [#8707](https://github.com/timescale/timescaledb/pull/8707) Block concurrent refresh policies for hierarchical continous aggregate due to potential deadlocks

**Thanks**
* @MKrkkl for reporting a bug in gapfill queries with expressions over aggregates and groupby columns
* @brandonpurcell-dev for creating a test case that showed a bug in `CREATE TABLE WITH` when using UUIDv7 partitioning
* @snyrkill for reporting a bug when interrupting a continous aggregate refresh

## 2.22.0 (2025-09-02)

Expand Down Expand Up @@ -4035,4 +4065,4 @@ the next release.
* [e20edf8] Add better error checking for index creation.
* [72f754a] use PostgreSQL's own `hash_any` function as default partfunc (thanks @robin900)
* [39f4c0f] Remove sample data instructions and point to docs site
* [9015314] Revised the `get_general_index_definition` function to handle cases where indexes have definitions other than just `CREATE INDEX` (thanks @bricklen)
* [9015314] Revised the `get_general_index_definition` function to handle cases where indexes have definitions other than just `CREATE INDEX` (thanks @bricklen)
Loading