-
Notifications
You must be signed in to change notification settings - Fork 893
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This release adds major new features since the 2.4.2 release. We deem it moderate priority for upgrading. This release includes these noteworthy features: * Continuous Aggregates for Distributed Hypertables * Support for PostgreSQL 14 * Experimental: Support for timezones in `time_bucket_ng()`, including the `origin` argument This release also includes several bug fixes. **Features** * #3034 Add support for PostgreSQL 14 * #3435 Add continuous aggregates for distributed hypertables * #3505 Add support for timezones in `time_bucket_ng()` **Bugfixes** * #3580 Fix memory context bug executing TRUNCATE * #3592 Allow alter column type on distributed hypertable * #3598 Improve evaluation of stable functions such as now() on access node * #3618 Fix execution of refresh_caggs from user actions * #3625 Add shared dependencies when creating chunk * #3626 Fix memory context bug executing TRUNCATE * #3627 Schema qualify UDTs in multi-node * #3638 Allow owner change of a data node * #3654 Fix index attnum mapping in reorder_chunk * #3661 Fix SkipScan path generation with constant DISTINCT column * #3667 Fix compress_policy for multi txn handling * #3673 Fix distributed hypertable DROP within a procedure * #3701 Allow anyone to use size utilities on distributed hypertables * #3708 Fix crash in get_aggsplit * #3709 Fix ordered append pathkey check * #3712 Fix GRANT/REVOKE ALL IN SCHEMA handling * #3717 Support transparent decompression on individual chunks * #3724 Fix inserts into compressed chunks on hypertables with caggs * #3727 Fix DirectFunctionCall crash in distributed_exec * #3728 Fix SkipScan with varchar column * #3733 Fix ANALYZE crash with custom statistics for custom types * #3747 Always reset expr context in DecompressChunk **Thanks** * @binakot and @sebvett for reporting an issue with DISTINCT queries * @hardikm10, @DavidPavlicek and @pafiti for reporting bugs on TRUNCATE * @mjf for reporting an issue with ordered append and JOINs * @phemmer for reporting the issues on multinode with aggregate queries and evaluation of now() * @abolognino for reporting an issue with INSERTs into compressed hypertables that have cagg * @tanglebones for reporting the ANALYZE crash with custom types on multinode
- Loading branch information
1 parent
e02f48c
commit 6245bcd
Showing
7 changed files
with
56 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.time_col_name_for_chunk(name,name); | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.time_col_type_for_chunk(name,name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
DROP FUNCTION IF EXISTS timescaledb_experimental.time_bucket_ng(bucket_width INTERVAL, ts TIMESTAMPTZ, timezone TEXT); | ||
DROP FUNCTION IF EXISTS timescaledb_experimental.time_bucket_ng(bucket_width INTERVAL, ts TIMESTAMPTZ, origin TIMESTAMPTZ, timezone TEXT); | ||
|
||
DROP FUNCTION IF EXISTS _timescaledb_internal.subtract_integer_from_now; | ||
|
||
--changes for compression policy --- | ||
DROP PROCEDURE IF EXISTS _timescaledb_internal.policy_compression; | ||
DROP PROCEDURE IF EXISTS _timescaledb_internal.policy_compression_interval; | ||
DROP PROCEDURE IF EXISTS _timescaledb_internal.policy_compression_integer; | ||
|
||
--changes for continuous Aggregates over distributed hypertables --- | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.drop_dist_ht_invalidation_trigger; | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.hypertable_invalidation_log_delete; | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.invalidation_cagg_log_add_entry; | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.invalidation_hyper_log_add_entry; | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.invalidation_process_cagg_log; | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.invalidation_process_hypertable_log; | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.materialization_invalidation_log_delete; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +0,0 @@ | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.time_col_name_for_chunk(name,name); | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.time_col_type_for_chunk(name,name); | ||
|
||
CREATE OR REPLACE FUNCTION _timescaledb_internal.subtract_integer_from_now( hypertable_relid REGCLASS, lag INT8 ) | ||
RETURNS INT8 AS '@MODULE_PATHNAME@', 'ts_subtract_integer_from_now' LANGUAGE C STABLE STRICT; | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +0,0 @@ | ||
DROP FUNCTION IF EXISTS timescaledb_experimental.time_bucket_ng(bucket_width INTERVAL, ts TIMESTAMPTZ, timezone TEXT); | ||
DROP FUNCTION IF EXISTS timescaledb_experimental.time_bucket_ng(bucket_width INTERVAL, ts TIMESTAMPTZ, origin TIMESTAMPTZ, timezone TEXT); | ||
|
||
DROP FUNCTION IF EXISTS _timescaledb_internal.subtract_integer_from_now; | ||
|
||
--changes for compression policy --- | ||
DROP PROCEDURE IF EXISTS _timescaledb_internal.policy_compression; | ||
DROP PROCEDURE IF EXISTS _timescaledb_internal.policy_compression_interval; | ||
DROP PROCEDURE IF EXISTS _timescaledb_internal.policy_compression_integer; | ||
|
||
--changes for continuous Aggregates over distributed hypertables --- | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.drop_dist_ht_invalidation_trigger; | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.hypertable_invalidation_log_delete; | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.invalidation_cagg_log_add_entry; | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.invalidation_hyper_log_add_entry; | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.invalidation_process_cagg_log; | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.invalidation_process_hypertable_log; | ||
DROP FUNCTION IF EXISTS _timescaledb_internal.materialization_invalidation_log_delete; | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
version = 2.5.0-dev | ||
version = 2.5.0 | ||
update_from_version = 2.4.2 | ||
downgrade_to_version = 2.4.2 |