diff --git a/CHANGELOG.md b/CHANGELOG.md index df8c6e31c2f..d858b60d2c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,22 +4,25 @@ `psql` with the `-X` flag to prevent any `.psqlrc` commands from accidentally triggering the load of a previous DB version.** -## Unreleased +## 2.7.2 (2022-07-26) -**Features** -* #4374 Remove constified now() constraints from plan -* #4393 Support intervals with day component when constifying now() -* #4397 Support intervals with month component when constifying now() +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) diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt index e28844c7140..63ff732405e 100644 --- a/sql/CMakeLists.txt +++ b/sql/CMakeLists.txt @@ -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. @@ -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") diff --git a/sql/updates/2.7.2--2.7.1.sql b/sql/updates/2.7.2--2.7.1.sql new file mode 100644 index 00000000000..e69de29bb2d diff --git a/version.config b/version.config index 2c86443692a..7f0b1ca6c77 100644 --- a/version.config +++ b/version.config @@ -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