Skip to content

Commit 32c11a3

Browse files
## 2.17.0
This release contains performance improvements and bug fixes since the 2.16.1 release. We recommend that you upgrade at the next available opportunity. **Features** * timescale#6882: Allow DELETE on the compressed chunks without decompression. * timescale#7033 Use MERGE statement on CAgg Refresh * timescale#7126: Add functions to show the compression information. * timescale#7147: Vectorize partial aggregation for `sum * timescale#7204: Track additional extensions in telemetry. * timescale#7207: Refactor the `decompress_batches_scan` functions for easier maintenance. * timescale#7209: Add a function to drop the `osm` chunk. **Bugfixes** * timescale#7187: Fix the string literal length for the `compressed_data_info` function. * timescale#7191: Fix creating default indexes on chunks when migrating the data. * timescale#7195: Fix the `segment by` and `order by` checks when dropping a column from a compressed hypertable. * timescale#7201: Use the generic extension description when building `apt` and `rpm` loader packages. * timescale#7227: Add an index to the `compression_chunk_size` catalog table. * timescale#7229: Fix the foreign key constraints where the index and the constraint column order are different. * timescale#7230: Do not propagate the foreign key constraints to the `osm` chunk. * timescale#7234: Release the cache after accessing the cache entry. * timescale#7258 Force English in the pg_config command executed by cmake to avoid unexpected building errors * timescale#7270 Fix memory leak in compressed DML batch filtering **Thanks** * @MiguelTubio for reporting and fixing a Windows build error * @posuch for reporting the misleading extension description in the generic loader packages.
1 parent 80d061d commit 32c11a3

24 files changed

+53
-37
lines changed

.unreleased/group_by_segmentby

Lines changed: 0 additions & 1 deletion
This file was deleted.

.unreleased/pr_6882

Lines changed: 0 additions & 1 deletion
This file was deleted.

.unreleased/pr_7033

Lines changed: 0 additions & 1 deletion
This file was deleted.

.unreleased/pr_7126

Lines changed: 0 additions & 1 deletion
This file was deleted.

.unreleased/pr_7187

Lines changed: 0 additions & 1 deletion
This file was deleted.

.unreleased/pr_7191

Lines changed: 0 additions & 1 deletion
This file was deleted.

.unreleased/pr_7195

Lines changed: 0 additions & 1 deletion
This file was deleted.

.unreleased/pr_7201

Lines changed: 0 additions & 2 deletions
This file was deleted.

.unreleased/pr_7204

Lines changed: 0 additions & 1 deletion
This file was deleted.

.unreleased/pr_7207

Lines changed: 0 additions & 1 deletion
This file was deleted.

.unreleased/pr_7209

Lines changed: 0 additions & 1 deletion
This file was deleted.

.unreleased/pr_7227

Lines changed: 0 additions & 1 deletion
This file was deleted.

.unreleased/pr_7229

Lines changed: 0 additions & 1 deletion
This file was deleted.

.unreleased/pr_7230

Lines changed: 0 additions & 1 deletion
This file was deleted.

.unreleased/pr_7234

Lines changed: 0 additions & 1 deletion
This file was deleted.

.unreleased/pr_7258

Lines changed: 0 additions & 2 deletions
This file was deleted.

.unreleased/pr_7270

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,39 @@
44
`psql` with the `-X` flag to prevent any `.psqlrc` commands from
55
accidentally triggering the load of a previous DB version.**
66

7+
8+
## 2.17.0 (2024-09-20)
9+
10+
This release contains performance improvements and bug fixes since
11+
the 2.16.1 release. We recommend that you upgrade at the next
12+
available opportunity.
13+
14+
15+
**Features**
16+
* #6882: Allow DELETE on the compressed chunks without decompression.
17+
* #7033 Use MERGE statement on CAgg Refresh
18+
* #7126: Add functions to show the compression information.
19+
* #7147: Vectorize partial aggregation for `sum(int4)` with grouping on `segment by` columns.
20+
* #7204: Track additional extensions in telemetry.
21+
* #7207: Refactor the `decompress_batches_scan` functions for easier maintenance.
22+
* #7209: Add a function to drop the `osm` chunk.
23+
24+
**Bugfixes**
25+
* #7187: Fix the string literal length for the `compressed_data_info` function.
26+
* #7191: Fix creating default indexes on chunks when migrating the data.
27+
* #7195: Fix the `segment by` and `order by` checks when dropping a column from a compressed hypertable.
28+
* #7201: Use the generic extension description when building `apt` and `rpm` loader packages.
29+
* #7227: Add an index to the `compression_chunk_size` catalog table.
30+
* #7229: Fix the foreign key constraints where the index and the constraint column order are different.
31+
* #7230: Do not propagate the foreign key constraints to the `osm` chunk.
32+
* #7234: Release the cache after accessing the cache entry.
33+
* #7258 Force English in the pg_config command executed by cmake to avoid unexpected building errors
34+
* #7270 Fix memory leak in compressed DML batch filtering
35+
36+
**Thanks**
37+
* @MiguelTubio for reporting and fixing a Windows build error
38+
* @posuch for reporting the misleading extension description in the generic loader packages.
39+
740
## 2.16.1 (2024-08-06)
841

942
This release contains bug fixes since the 2.16.0 release. We recommend

sql/CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,12 @@ set(MOD_FILES
4242
updates/2.15.1--2.15.2.sql
4343
updates/2.15.2--2.15.3.sql
4444
updates/2.15.3--2.16.0.sql
45-
updates/2.16.0--2.16.1.sql)
45+
updates/2.16.0--2.16.1.sql
46+
updates/2.16.1--2.17.0.sql)
4647

4748
# The downgrade file to generate a downgrade script for the current version, as
4849
# specified in version.config
49-
set(CURRENT_REV_FILE reverse-dev.sql)
50+
set(CURRENT_REV_FILE 2.17.0--2.16.1.sql)
5051
# Files for generating old downgrade scripts. This should only include files for
5152
# downgrade from one version to its previous version since we do not support
5253
# skipping versions when downgrading.
@@ -84,7 +85,8 @@ set(OLD_REV_FILES
8485
2.15.2--2.15.1.sql
8586
2.15.3--2.15.2.sql
8687
2.16.0--2.15.3.sql
87-
2.16.1--2.16.0.sql)
88+
2.16.1--2.16.0.sql
89+
2.17.0--2.16.1.sql)
8890

8991
set(MODULE_PATHNAME "$libdir/timescaledb-${PROJECT_VERSION_MOD}")
9092
set(LOADER_PATHNAME "$libdir/timescaledb")

sql/updates/2.16.1--2.17.0.sql

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
CREATE FUNCTION _timescaledb_functions.compressed_data_info(_timescaledb_internal.compressed_data)
2+
RETURNS TABLE (algorithm name, has_nulls bool)
3+
AS '@MODULE_PATHNAME@', 'ts_update_placeholder'
4+
LANGUAGE C STRICT IMMUTABLE SET search_path = pg_catalog, pg_temp;
5+
6+
CREATE INDEX compression_chunk_size_idx ON _timescaledb_catalog.compression_chunk_size (compressed_chunk_id);
7+
8+
CREATE FUNCTION _timescaledb_functions.drop_osm_chunk(hypertable REGCLASS)
9+
RETURNS BOOL
10+
AS '@MODULE_PATHNAME@', 'ts_update_placeholder'
11+
LANGUAGE C VOLATILE;

sql/updates/2.17.0--2.16.1.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
DROP FUNCTION _timescaledb_functions.compressed_data_info(_timescaledb_internal.compressed_data);
2+
DROP INDEX _timescaledb_catalog.compression_chunk_size_idx;
3+
DROP FUNCTION IF EXISTS _timescaledb_functions.drop_osm_chunk(REGCLASS);

sql/updates/latest-dev.sql

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +0,0 @@
1-
CREATE FUNCTION _timescaledb_functions.compressed_data_info(_timescaledb_internal.compressed_data)
2-
RETURNS TABLE (algorithm name, has_nulls bool)
3-
AS '@MODULE_PATHNAME@', 'ts_update_placeholder'
4-
LANGUAGE C STRICT IMMUTABLE SET search_path = pg_catalog, pg_temp;
5-
6-
CREATE INDEX compression_chunk_size_idx ON _timescaledb_catalog.compression_chunk_size (compressed_chunk_id);
7-
8-
CREATE FUNCTION _timescaledb_functions.drop_osm_chunk(hypertable REGCLASS)
9-
RETURNS BOOL
10-
AS '@MODULE_PATHNAME@', 'ts_update_placeholder'
11-
LANGUAGE C VOLATILE;

sql/updates/reverse-dev.sql

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
DROP FUNCTION _timescaledb_functions.compressed_data_info(_timescaledb_internal.compressed_data);
2-
DROP INDEX _timescaledb_catalog.compression_chunk_size_idx;
3-
DROP FUNCTION IF EXISTS _timescaledb_functions.drop_osm_chunk(REGCLASS);

version.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version = 2.17.0-dev
1+
version = 2.17.0
22
update_from_version = 2.16.1
33
downgrade_to_version = 2.16.1

0 commit comments

Comments
 (0)