Skip to content

Commit

Permalink
Release 2.7.2
Browse files Browse the repository at this point in the history
This release is a patch release. We recommend that you upgrade at the
next available opportunity.
Among other things this release fixes several memory leaks, handling
of TOASTed values in GapFill and parameter handling in prepared statements.

**Bugfixes**

* #4517 Fix prepared statement param handling in ChunkAppend
* #4522 Fix ANALYZE on dist hypertable for a set of nodes
* #4526 Fix gapfill group comparison for TOASTed values
* #4527 Handle stats properly for range types
* #4532 Fix memory leak in function telemetry
* #4534 Use explicit memory context with hash_create
* #4538 Fix chunk creation on hypertables with non-default statistics

**Thanks**

* @3a6u9ka, @bgemmill, @hongquan, @stl-leonid-kalmaev and @victor-sudakov for reporting a memory leak
* @hleung2021 and @laocaixw  for reporting an issue with parameter handling in prepared statements
  • Loading branch information
svenklemm committed Jul 22, 2022
1 parent 949e098 commit b5e4329
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
16 changes: 13 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,25 @@ accidentally triggering the load of a previous DB version.**
* #4393 Support intervals with day component when constifying now()
* #4397 Support intervals with month component when constifying now()

## 2.7.2 (2022-07-26)

This release is a patch release. We recommend that you upgrade at the
next available opportunity.
Among other things this release fixes several memory leaks, handling
of TOASTed values in GapFill and parameter handling in prepared statements.

**Bugfixes**
* #4482 Ensure (de-)compression is not performed twice on the same chunk
* #4517 Fix prepared statement param handling in ChunkAppend
* #4522 Fix ANALYZE on dist hypertable for a set of nodes
* #4526 Fix gapfill group comparison for TOASTed values
* #4527 Handle stats properly for range types
* #4522 Fix ANALYZE on dist hypertable for a set of nodes
* #4532 Fix memory leak in function telemetry
* #4534 Use explicit memory context with hash_create
* #4538 Fix chunk creation on hypertables with non-default statistics

**Thanks**

* @3a6u9ka, @bgemmill, @hongquan, @stl-leonid-kalmaev and @victor-sudakov for reporting a memory leak
* @hleung2021 and @laocaixw for reporting an issue with parameter handling in prepared statements

## 2.7.1 (2022-07-07)

Expand Down
9 changes: 6 additions & 3 deletions sql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ set(MOD_FILES
updates/2.5.1--2.5.2.sql
updates/2.5.2--2.6.0.sql
updates/2.6.0--2.6.1.sql
updates/2.6.1--2.7.0.sql)
updates/2.6.1--2.7.0.sql
updates/2.7.0--2.7.1.sql
updates/2.7.1--2.7.2.sql)

# The downgrade file to generate a downgrade script for the current version, as
# specified in version.config
set(CURRENT_REV_FILE 2.7.1--2.7.0.sql)
set(CURRENT_REV_FILE 2.7.2--2.7.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 All @@ -54,7 +56,8 @@ set(OLD_REV_FILES
2.6.0--2.5.2.sql
2.6.1--2.6.0.sql
2.7.0--2.6.1.sql
2.7.1--2.7.0.sql)
2.7.1--2.7.0.sql
2.7.2--2.7.1.sql)

set(MODULE_PATHNAME "$libdir/timescaledb-${PROJECT_VERSION_MOD}")
set(LOADER_PATHNAME "$libdir/timescaledb")
Expand Down
6 changes: 3 additions & 3 deletions version.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version = 2.7.1
update_from_version = 2.7.0
downgrade_to_version = 2.7.0
version = 2.7.2
update_from_version = 2.7.1
downgrade_to_version = 2.7.1

0 comments on commit b5e4329

Please sign in to comment.