Skip to content

Commit ffbd60d

Browse files
committed
Release 2.18.2
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** * timescale#7686 Potential wrong aggregation result when using vectorized aggregation with hash grouping in reverse order * timescale#7694 Fix ExplainHook breaking call chain * timescale#7695 Block dropping internal compressed chunks with `drop_chunk()` * timescale#7711 License error when using hypercore handler * timescale#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
1 parent da254c0 commit ffbd60d

12 files changed

+33
-22
lines changed

.unreleased/hash-groupagg-bug

-1
This file was deleted.

.unreleased/pr_7694

-1
This file was deleted.

.unreleased/pr_7695

-1
This file was deleted.

.unreleased/pr_7711

-2
This file was deleted.

.unreleased/pr_7712

-3
This file was deleted.

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@
44
`psql` with the `-X` flag to prevent any `.psqlrc` commands from
55
accidentally triggering the load of a previous DB version.**
66

7+
## 2.18.2 (2025-02-19)
8+
9+
This release contains performance improvements and bug fixes since
10+
the 2.18.1 release. We recommend that you upgrade at the next
11+
available opportunity.
12+
13+
**Bugfixes**
14+
* #7686 Potential wrong aggregation result when using vectorized aggregation with hash grouping in reverse order
15+
* #7694 Fix ExplainHook breaking call chain
16+
* #7695 Block dropping internal compressed chunks with `drop_chunk()`
17+
* #7711 License error when using hypercore handler
18+
* #7712 Respect other extensions' ExecutorStart hooks
19+
20+
**Thanks**
21+
* @davidmehren and @jflambert for reporting an issue with extension hooks
22+
* @jflambert for reporting a bug with license errors shown in autovacuum
23+
724
## 2.18.1 (2025-02-10)
825

926
This release contains performance improvements and bug fixes since

sql/CMakeLists.txt

+5-3
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,12 @@ set(MOD_FILES
4747
updates/2.17.0--2.17.1.sql
4848
updates/2.17.1--2.17.2.sql
4949
updates/2.17.2--2.18.0.sql
50-
updates/2.18.0--2.18.1.sql)
50+
updates/2.18.0--2.18.1.sql
51+
updates/2.18.1--2.18.2.sql)
5152

5253
# The downgrade file to generate a downgrade script for the current version, as
5354
# specified in version.config
54-
set(CURRENT_REV_FILE 2.18.1--2.18.0.sql)
55+
set(CURRENT_REV_FILE 2.18.2--2.18.1.sql)
5556
# Files for generating old downgrade scripts. This should only include files for
5657
# downgrade from one version to its previous version since we do not support
5758
# skipping versions when downgrading.
@@ -94,7 +95,8 @@ set(OLD_REV_FILES
9495
2.17.1--2.17.0.sql
9596
2.17.2--2.17.1.sql
9697
2.18.0--2.17.2.sql
97-
2.18.1--2.18.0.sql)
98+
2.18.1--2.18.0.sql
99+
2.18.2--2.18.1.sql)
98100

99101
set(MODULE_PATHNAME "$libdir/timescaledb-${PROJECT_VERSION_MOD}")
100102
set(LOADER_PATHNAME "$libdir/timescaledb")

sql/updates/2.18.1--2.18.2.sql

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ALTER TABLE _timescaledb_internal.bgw_job_stat_history
2+
ALTER COLUMN succeeded DROP NOT NULL,
3+
ALTER COLUMN succeeded DROP DEFAULT;

sql/updates/2.18.2--2.18.1.sql

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
UPDATE _timescaledb_internal.bgw_job_stat_history SET succeeded = FALSE WHERE succeeded IS NULL;
2+
3+
ALTER TABLE _timescaledb_internal.bgw_job_stat_history
4+
ALTER COLUMN succeeded SET NOT NULL,
5+
ALTER COLUMN succeeded SET DEFAULT FALSE;

sql/updates/latest-dev.sql

-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
ALTER TABLE _timescaledb_internal.bgw_job_stat_history
2-
ALTER COLUMN succeeded DROP NOT NULL,
3-
ALTER COLUMN succeeded DROP DEFAULT;

sql/updates/reverse-dev.sql

-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +0,0 @@
1-
UPDATE _timescaledb_internal.bgw_job_stat_history SET succeeded = FALSE WHERE succeeded IS NULL;
2-
3-
ALTER TABLE _timescaledb_internal.bgw_job_stat_history
4-
ALTER COLUMN succeeded SET NOT NULL,
5-
ALTER COLUMN succeeded SET DEFAULT FALSE;

version.config

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version = 2.18.1
2-
update_from_version = 2.18.0
3-
downgrade_to_version = 2.18.0
1+
version = 2.18.2
2+
update_from_version = 2.18.1
3+
downgrade_to_version = 2.18.1

0 commit comments

Comments
 (0)