Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.18.2 #7741

Merged
merged 2 commits into from
Feb 19, 2025
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/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](https://github.com/timescale/timescaledb/pull/7686) Potential wrong aggregation result when using vectorized aggregation with hash grouping in reverse order
* [#7694](https://github.com/timescale/timescaledb/pull/7694) Fix ExplainHook breaking call chain
* [#7695](https://github.com/timescale/timescaledb/pull/7695) Block dropping internal compressed chunks with `drop_chunk()`
* [#7711](https://github.com/timescale/timescaledb/pull/7711) License error when using hypercore handler
* [#7712](https://github.com/timescale/timescaledb/pull/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
6 changes: 4 additions & 2 deletions sql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ 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
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;
4 changes: 0 additions & 4 deletions sql/updates/latest-dev.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
ALTER TABLE _timescaledb_internal.bgw_job_stat_history
ALTER COLUMN succeeded DROP NOT NULL,
ALTER COLUMN succeeded DROP DEFAULT;

CREATE FUNCTION _timescaledb_functions.compressed_data_has_nulls(_timescaledb_internal.compressed_data)
RETURNS BOOL
LANGUAGE C STRICT IMMUTABLE
Expand Down
6 changes: 0 additions & 6 deletions sql/updates/reverse-dev.sql
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
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;

DROP FUNCTION IF EXISTS _timescaledb_functions.compressed_data_has_nulls(_timescaledb_internal.compressed_data);

DELETE FROM _timescaledb_catalog.compression_algorithm WHERE id = 5 AND version = 1 AND name = 'COMPRESSION_ALGORITHM_BOOL';
4 changes: 2 additions & 2 deletions version.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version = 2.19.0-dev
update_from_version = 2.18.1
downgrade_to_version = 2.18.1
update_from_version = 2.18.2
downgrade_to_version = 2.18.2
Loading