Skip to content

Commit

Permalink
## 2.17.0
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pallavisontakke committed Sep 30, 2024
1 parent b7a1074 commit f8da382
Show file tree
Hide file tree
Showing 24 changed files with 53 additions and 37 deletions.
1 change: 0 additions & 1 deletion .unreleased/group_by_segmentby

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/pr_6882

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/pr_7033

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/pr_7126

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/pr_7187

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/pr_7191

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/pr_7195

This file was deleted.

2 changes: 0 additions & 2 deletions .unreleased/pr_7201

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/pr_7204

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/pr_7207

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/pr_7209

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/pr_7227

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/pr_7229

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/pr_7230

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/pr_7234

This file was deleted.

2 changes: 0 additions & 2 deletions .unreleased/pr_7258

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/pr_7270

This file was deleted.

33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,39 @@
`psql` with the `-X` flag to prevent any `.psqlrc` commands from
accidentally triggering the load of a previous DB version.**


## 2.17.0 (2024-09-20)

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**
* #6882: Allow DELETE on the compressed chunks without decompression.
* #7033 Use MERGE statement on CAgg Refresh
* #7126: Add functions to show the compression information.
* #7147: Vectorize partial aggregation for `sum(int4)` with grouping on `segment by` columns.
* #7204: Track additional extensions in telemetry.
* #7207: Refactor the `decompress_batches_scan` functions for easier maintenance.
* #7209: Add a function to drop the `osm` chunk.

**Bugfixes**
* #7187: Fix the string literal length for the `compressed_data_info` function.
* #7191: Fix creating default indexes on chunks when migrating the data.
* #7195: Fix the `segment by` and `order by` checks when dropping a column from a compressed hypertable.
* #7201: Use the generic extension description when building `apt` and `rpm` loader packages.
* #7227: Add an index to the `compression_chunk_size` catalog table.
* #7229: Fix the foreign key constraints where the index and the constraint column order are different.
* #7230: Do not propagate the foreign key constraints to the `osm` chunk.
* #7234: Release the cache after accessing the cache entry.
* #7258 Force English in the pg_config command executed by cmake to avoid unexpected building errors
* #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.

## 2.16.1 (2024-08-06)

This release contains bug fixes since the 2.16.0 release. We recommend
Expand Down
8 changes: 5 additions & 3 deletions sql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@ set(MOD_FILES
updates/2.15.1--2.15.2.sql
updates/2.15.2--2.15.3.sql
updates/2.15.3--2.16.0.sql
updates/2.16.0--2.16.1.sql)
updates/2.16.0--2.16.1.sql
updates/2.16.1--2.17.0.sql)

# The downgrade file to generate a downgrade script for the current version, as
# specified in version.config
set(CURRENT_REV_FILE reverse-dev.sql)
set(CURRENT_REV_FILE 2.17.0--2.16.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 Down Expand Up @@ -84,7 +85,8 @@ set(OLD_REV_FILES
2.15.2--2.15.1.sql
2.15.3--2.15.2.sql
2.16.0--2.15.3.sql
2.16.1--2.16.0.sql)
2.16.1--2.16.0.sql
2.17.0--2.16.1.sql)

set(MODULE_PATHNAME "$libdir/timescaledb-${PROJECT_VERSION_MOD}")
set(LOADER_PATHNAME "$libdir/timescaledb")
Expand Down
11 changes: 11 additions & 0 deletions sql/updates/2.16.1--2.17.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CREATE FUNCTION _timescaledb_functions.compressed_data_info(_timescaledb_internal.compressed_data)
RETURNS TABLE (algorithm name, has_nulls bool)
AS '@MODULE_PATHNAME@', 'ts_update_placeholder'
LANGUAGE C STRICT IMMUTABLE SET search_path = pg_catalog, pg_temp;

CREATE INDEX compression_chunk_size_idx ON _timescaledb_catalog.compression_chunk_size (compressed_chunk_id);

CREATE FUNCTION _timescaledb_functions.drop_osm_chunk(hypertable REGCLASS)
RETURNS BOOL
AS '@MODULE_PATHNAME@', 'ts_update_placeholder'
LANGUAGE C VOLATILE;
3 changes: 3 additions & 0 deletions sql/updates/2.17.0--2.16.1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DROP FUNCTION _timescaledb_functions.compressed_data_info(_timescaledb_internal.compressed_data);
DROP INDEX _timescaledb_catalog.compression_chunk_size_idx;
DROP FUNCTION IF EXISTS _timescaledb_functions.drop_osm_chunk(REGCLASS);
11 changes: 0 additions & 11 deletions sql/updates/latest-dev.sql
Original file line number Diff line number Diff line change
@@ -1,11 +0,0 @@
CREATE FUNCTION _timescaledb_functions.compressed_data_info(_timescaledb_internal.compressed_data)
RETURNS TABLE (algorithm name, has_nulls bool)
AS '@MODULE_PATHNAME@', 'ts_update_placeholder'
LANGUAGE C STRICT IMMUTABLE SET search_path = pg_catalog, pg_temp;

CREATE INDEX compression_chunk_size_idx ON _timescaledb_catalog.compression_chunk_size (compressed_chunk_id);

CREATE FUNCTION _timescaledb_functions.drop_osm_chunk(hypertable REGCLASS)
RETURNS BOOL
AS '@MODULE_PATHNAME@', 'ts_update_placeholder'
LANGUAGE C VOLATILE;
3 changes: 0 additions & 3 deletions sql/updates/reverse-dev.sql
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
DROP FUNCTION _timescaledb_functions.compressed_data_info(_timescaledb_internal.compressed_data);
DROP INDEX _timescaledb_catalog.compression_chunk_size_idx;
DROP FUNCTION IF EXISTS _timescaledb_functions.drop_osm_chunk(REGCLASS);
2 changes: 1 addition & 1 deletion version.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version = 2.17.0-dev
version = 2.17.0
update_from_version = 2.16.1
downgrade_to_version = 2.16.1

0 comments on commit f8da382

Please sign in to comment.