Releases: timescale/timescaledb
2.7.2 (2022-07-25)
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
2.7.1 (2022-07-07)
This release is a patch release. We recommend that you upgrade at the
next available opportunity.
Bugfixes
- #4494 Handle timescaledb versions aptly in multinode
- #4493 Segfault when executing IMMUTABLE functions
- #4482 Fix race conditions during chunk (de)compression
- #4367 Improved buffer management in the copy operator
- #4375 Don't ask for orderby column if default already set
- #4400 Use our implementation of
find_em_expr_for_rel
for PG15+ - #4408 Fix crash during insert into distributed hypertable
- #4411 Add
shmem_request_hook
- #4437 Fix segfault in subscription_exec
- #4442 Fix perms in copy/move chunk
- #4450 Retain hypertable ownership on
attach_data_node
- #4451 Repair numeric partial state on the fly
- #4463 Fix empty bytea handlng with distributed tables
- #4469 Better superuser handling for
move_chunk
Features
- #4244 Function telemetry
- #4287 Add internal api for foreign table chunk
- #4470 Block drop chunk if chunk is in frozen state
- #4464 Add internal api to associate a hypertable with custom jobs
Thanks
- @xin-hedera Finding bug in empty bytea values for distributed tables
- @jflambert for reporting a bug with IMMUTABLE functions
- @nikugogoi for reporting a bug with CTEs and upserts on distributed hypertables
2.7.0 (2022-05-24)
This release adds major new features since the 2.6.1 release.
We deem it moderate priority for upgrading.
This release includes these noteworthy features:
- Optimize continuous aggregate query performance and storage
- The following query clauses and functions can now be used in a continuous
aggregate: FILTER, DISTINCT, ORDER BY as well as Ordered-Set Aggregate
and Hypothetical-Set Aggregate - Optimize now() query planning time
- Improve COPY insert performance
- Improve performance of UPDATE/DELETE on PG14 by excluding chunks
This release also includes several bug fixes.
If you are upgrading from a previous version and were using compression
with a non-default collation on a segmentby-column you should recompress
those hypertables.
Features
- #4045 Custom origin's support in CAGGs
- #4120 Add logging for retention policy
- #4158 Allow ANALYZE command on a data node directly
- #4169 Add support for chunk exclusion on DELETE to PG14
- #4209 Add support for chunk exclusion on UPDATE to PG14
- #4269 Continuous Aggregates finals form
- #4301 Add support for bulk inserts in COPY operator
- #4311 Support non-superuser move chunk operations
- #4330 Add GUC "bgw_launcher_poll_time"
- #4340 Enable now() usage in plan-time chunk exclusion
Bugfixes
- #3899 Fix segfault in Continuous Aggregates
- #4225 Fix TRUNCATE error as non-owner on hypertable
- #4236 Fix potential wrong order of results for compressed hypertable with a non-default collation
- #4249 Fix option "timescaledb.create_group_indexes"
- #4251 Fix INSERT into compressed chunks with dropped columns
- #4255 Fix option "timescaledb.create_group_indexes"
- #4259 Fix logic bug in extension update script
- #4269 Fix bad Continuous Aggregate view definition reported in #4233
- #4289 Support moving compressed chunks between data nodes
- #4300 Fix refresh window cap for cagg refresh policy
- #4315 Fix memory leak in scheduler
- #4323 Remove printouts from signal handlers
- #4342 Fix move chunk cleanup logic
- #4349 Fix crashes in functions using AlterTableInternal
- #4358 Fix crash and other issues in telemetry reporter
Thanks
- @abrownsword for reporting a bug in the telemetry reporter and testing the fix
- @jsoref for fixing various misspellings in code, comments and documentation
- @yalon for reporting an error with ALTER TABLE RENAME on distributed hypertables
- @zhuizhuhaomeng for reporting and fixing a memory leak in our scheduler
2.6.1 (2022-04-11)
This release is a patch release. We recommend that you upgrade at the next available opportunity.
Bugfixes
#4121 Fix RENAME TO/SET SCHEMA on distributed hypertable
#4122 Fix segfault on INSERT into distributed hypertable
#4142 Ignore invalid relid when deleting hypertable
#4159 Fix ADD COLUMN IF NOT EXISTS error on compressed hypertable
#4161 Fix memory handling during scans
#4176 Fix remote EXPLAIN with parameterized queries
#4181 Fix spelling errors and omissions
#4186 Fix owner change for distributed hypertable
#4192 Abort sessions after extension reload
#4193 Fix relcache callback handling causing crashes
#4199 Remove signal-unsafe calls from signal handlers
#4219 Do not modify aggregation state in finalize
Thanks
@abrownsword for reporting a crash in the telemetry reporter (fixed with #4161)
@daydayup863 for reporting issue with remote explain
2.6.0 (2022-02-16)
This release is a medium priority for upgrade. We recommend that you upgrade at the next available opportunity.
This release adds major new features since the 2.5.2 release, including:
- Continuous aggregates with compression
- time_bucket_ng support for N months and timezones on continuous aggregates
- You can read more about this release on our blog post. This release also contains bug fixes since the 2.5.0 release.
The experimental features in the 2.6 release are:
- The time_bucket_ng function, a newer version of time_bucket. This function supports years, months, days, hours, minutes, seconds, and timezones.
- time_bucket_ng support for N months and Timezones on continuous aggregates.
- APIs for chunk manipulation across data nodes in a distributed hypertable setup. This includes the ability to add a data node and move chunks to the new data node for cluster rebalancing.
Features
- #3768 Allow ALTER TABLE ADD COLUMN with DEFAULT on compressed hypertable
- #3769 Allow ALTER TABLE DROP COLUMN on compressed hypertable
- #3873 Enable compression on continuous aggregates
- #3943 Optimize first/last
- #3945 Add support for ALTER SCHEMA on multi-node
- #3949 Add support for DROP SCHEMA on multi-node
- #3977 Timezones support in CAGGs
Bugfixes
- #3808 Properly handle max_retries option
- #3863 Fix remote transaction heal logic
- #3869 Fix ALTER SET/DROP NULL contstraint on distributed hypertable
- #3944 Fix segfault in add_compression_policy
- #3961 Fix crash in EXPLAIN VERBOSE on distributed hypertable
- #4015 Eliminate float rounding instabilities in interpolate
- #4019 Update ts_extension_oid in transitioning state
- #4073 Fix buffer overflow in partition scheme
Improvements
Query planning performance is improved for hypertables with a large number of chunks.
Thanks
- @fvannee for reporting a first/last memory leak
- @mmouterde for reporting an issue with floats and interpolate
2.5.2 (2022-02-09)
This release contains bug fixes since the 2.5.1 release.
This release is high priority for upgrade. We strongly recommend that you
upgrade as soon as possible.
Bugfixes
- #3900 Improve custom scan node registration
- #3911 Fix role type deparsing for GRANT command
- #3918 Fix DataNodeScan plans with one-time filter
- #3921 Fix segfault on insert into internal compressed table
- #3938 Fix subtract_integer_from_now on 32-bit platforms and improve error handling
- #3939 Fix projection handling in time_bucket_gapfill
- #3948 Avoid double PGclear() in data fetchers
- #3979 Fix deparsing of index predicates
- #4015 Eliminate float rounding instabilities in interpolate
- #4020 Fix ALTER TABLE EventTrigger initialization
- #4024 Fix premature cache release call
- #4037 Fix status for dropped chunks that have catalog entries
- #4069 Fix riinfo NULL handling in ANY construct
- #4071 Fix extension installation privilege escalation (CVE-2022-24128)
Thanks
- @carlocperez for reporting crash with NULL handling in ANY construct
- @erikhh for reporting an issue with time_bucket_gapfill
- @fvannee for reporting a first/last memory leak
- @kancsuki for reporting drop column and partial index creation not working
- @mmouterde for reporting an issue with floats and interpolate
- Pedro Gallegos for reporting a possible privilege escalation during extension installation
2.5.1 (2021-12-02)
This release contains bug fixes since the 2.5.0 release.
We deem it medium priority to upgrade.
Bugfixes
- #3706 Test enabling dist compression within a procedure
- #3734 Rework distributed DDL processing logic
- #3737 Fix flaky pg_dump
- #3739 Fix compression policy on tables using INTEGER
- #3766 Fix segfault in ts_hist_sfunc
- #3779 Support GRANT/REVOKE on distributed database
- #3789 Fix time_bucket comparison transformation
- #3797 Fix DISTINCT ON queries for distributed hyperatbles
- #3799 Fix error printout on correct security label
- #3801 Fail size utility functions when data nodes do not respond
- #3809 Fix NULL pointer evaluation in fill_result_error()
- #3811 Fix INSERT..SELECT involving dist hypertables
- #3819 Fix reading garbage value from TSConnectionError
- #3824 Remove pointers from CAGG lists for 64-bit archs
- #3846 Eliminate deadlock in recompress chunk policy
- #3881 Fix SkipScan crash due to pruned unique path
- #3884 Fix create_distributed_restore_point memory issue
Thanks
- @cbisnett for reporting and fixing a typo in an error message
- @CaptainCuddleCube for reporting bug on compression policy procedure on tables using INTEGER on time dimension
- @phemmer for reporting bugs on multi-node
2.5.0 (2021-10-28)
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
theorigin
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
- @amadeubarbosa and @felipenogueirajack for reporting crash using JSONB column in compressed chunks
2.4.2 (2021-09-21)
This release contains bug fixes since the 2.4.1 release. We deem it high priority to upgrade.
Bugfixes
#3437 Rename on all continuous aggregate objects
#3469 Use signal-safe functions in signal handler
#3520 Modify compression job processing logic
#3527 Fix time_bucket_ng behaviour with origin argument
#3532 Fix bootstrap with regresschecks disabled
#3574 Fix failure on job execution by background worker
#3590 Call cleanup functions on backend exit
Thanks
@jankatins for reporting a crash with background workers
@LutzWeischerFujitsu for reporting an issue with bootstrap
2.4.1 (2021-08-19)
This release contains bug fixes since the 2.4.0 release. We deem it
high priority to upgrade.
The release fixes continuous aggregate refresh for postgres 12.8 and
13.4, a crash with ALTER TABLE commands and a crash with continuous
aggregates with HAVING clause.
Bugfixes
- #3430 Fix havingqual processing for continuous aggregates
- #3468 Disable tests by default if tools are not found
- #3462 Fix crash while tracking alter table commands
- #3489 Fix continuous agg bgw job failure for PG 12.8 and 13.4
- #3494 Improve error message when adding data nodes
Thanks
- @brianbenns for reporting a segfault with continuous aggregates
- @usego for reporting an issue with continuous aggregate refresh on PG 13.4