Skip to content

Commit

Permalink
Release 2.18.2
Browse files Browse the repository at this point in the history
This release contains performance improvements and bug fixes since
the 2.18.1 release. We recommend that you upgrade at the next
available opportunity.

**Bugfixes**
* #7686 Potential wrong aggregation result when using vectorized aggregation with hash grouping in reverse order
* #7694 Fix ExplainHook breaking call chain
* #7695 Block dropping internal compressed chunks with `drop_chunk()`
* #7711 License error when using hypercore handler
* #7712 Respect other extensions' ExecutorStart hooks

**Thanks**
* @davidmehren and @jflambert for reporting an issue with extension hooks
* @jflambert for reporting a bug with license errors shown in autovacuum
  • Loading branch information
svenklemm committed Feb 19, 2025
1 parent 3ac6ecf commit bb49cfc
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 22 deletions.
1 change: 0 additions & 1 deletion .unreleased/hash-groupagg-bug

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

3 changes: 0 additions & 3 deletions .unreleased/pr_7712

This file was deleted.

17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@
`psql` with the `-X` flag to prevent any `.psqlrc` commands from
accidentally triggering the load of a previous DB version.**

## 2.18.2 (2025-02-19)

This release contains performance improvements and bug fixes since
the 2.18.1 release. We recommend that you upgrade at the next
available opportunity.

**Bugfixes**
* #7686 Potential wrong aggregation result when using vectorized aggregation with hash grouping in reverse order
* #7694 Fix ExplainHook breaking call chain
* #7695 Block dropping internal compressed chunks with `drop_chunk()`
* #7711 License error when using hypercore handler
* #7712 Respect other extensions' ExecutorStart hooks

**Thanks**
* @davidmehren and @jflambert for reporting an issue with extension hooks
* @jflambert for reporting a bug with license errors shown in autovacuum

## 2.18.1 (2025-02-10)

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.17.0--2.17.1.sql
updates/2.17.1--2.17.2.sql
updates/2.17.2--2.18.0.sql
updates/2.18.0--2.18.1.sql)
updates/2.18.0--2.18.1.sql
updates/2.18.1--2.18.2.sql)

# The downgrade file to generate a downgrade script for the current version, as
# specified in version.config
set(CURRENT_REV_FILE 2.18.1--2.18.0.sql)
set(CURRENT_REV_FILE 2.18.2--2.18.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 @@ -94,7 +95,8 @@ set(OLD_REV_FILES
2.17.1--2.17.0.sql
2.17.2--2.17.1.sql
2.18.0--2.17.2.sql
2.18.1--2.18.0.sql)
2.18.1--2.18.0.sql
2.18.2--2.18.1.sql)

set(MODULE_PATHNAME "$libdir/timescaledb-${PROJECT_VERSION_MOD}")
set(LOADER_PATHNAME "$libdir/timescaledb")
Expand Down
3 changes: 3 additions & 0 deletions sql/updates/2.18.1--2.18.2.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ALTER TABLE _timescaledb_internal.bgw_job_stat_history
ALTER COLUMN succeeded DROP NOT NULL,
ALTER COLUMN succeeded DROP DEFAULT;
5 changes: 5 additions & 0 deletions sql/updates/2.18.2--2.18.1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
UPDATE _timescaledb_internal.bgw_job_stat_history SET succeeded = FALSE WHERE succeeded IS NULL;

ALTER TABLE _timescaledb_internal.bgw_job_stat_history
ALTER COLUMN succeeded SET NOT NULL,
ALTER COLUMN succeeded SET DEFAULT FALSE;
3 changes: 0 additions & 3 deletions sql/updates/latest-dev.sql
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
ALTER TABLE _timescaledb_internal.bgw_job_stat_history
ALTER COLUMN succeeded DROP NOT NULL,
ALTER COLUMN succeeded DROP DEFAULT;
5 changes: 0 additions & 5 deletions sql/updates/reverse-dev.sql
Original file line number Diff line number Diff line change
@@ -1,5 +0,0 @@
UPDATE _timescaledb_internal.bgw_job_stat_history SET succeeded = FALSE WHERE succeeded IS NULL;

ALTER TABLE _timescaledb_internal.bgw_job_stat_history
ALTER COLUMN succeeded SET NOT NULL,
ALTER COLUMN succeeded SET DEFAULT FALSE;
6 changes: 3 additions & 3 deletions version.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version = 2.18.1
update_from_version = 2.18.0
downgrade_to_version = 2.18.0
version = 2.18.2
update_from_version = 2.18.1
downgrade_to_version = 2.18.1

0 comments on commit bb49cfc

Please sign in to comment.