Timescaledb: 2.12.0 Release

Release date:
September 25, 2023
Previous version:
2.12.0-rc2 (released September 25, 2023)
Magnitude:
0 Diff Delta
Contributors:
0 total committers
Data confidence:
Commits:

Top Contributors in 2.12.0

Could not determine top contributors for this release.

Directory Browser for 2.12.0

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

This release contains performance improvements for compressed hypertables and continuous aggregates and bug fixes since the 2.11.2 release. We recommend that you upgrade at the next available opportunity.

This release moves all internal functions from the _timescaleb_internal schema into the _timescaledb_functions schema. This separates code from internal data objects and improves security by allowing more restrictive permissions for the code schema. If you are calling any of those internal functions you should adjust your code as soon as possible. This version also includes a compatibility layer that allows calling them in the old location but that layer will be removed in 2.14.0.

PostgreSQL 12 support removal announcement Following the deprecation announcement for PostgreSQL 12 in TimescaleDB 2.10, PostgreSQL 12 is not supported starting with TimescaleDB 2.12. Currently supported PostgreSQL major versions are 13, 14 and 15. PostgreSQL 16 support will be added with a following TimescaleDB release.

Features * https://github.com/timescale/timescaledb/pull/5137 Insert into index during chunk compression * https://github.com/timescale/timescaledb/pull/5150 MERGE support on hypertables * https://github.com/timescale/timescaledb/pull/5515 Make hypertables support replica identity * https://github.com/timescale/timescaledb/pull/5586 Index scan support during UPDATE/DELETE on compressed hypertables * https://github.com/timescale/timescaledb/pull/5596 Support for partial aggregations at chunk level * https://github.com/timescale/timescaledb/pull/5599 Enable ChunkAppend for partially compressed chunks * https://github.com/timescale/timescaledb/pull/5655 Improve the number of parallel workers for decompression * https://github.com/timescale/timescaledb/pull/5758 Enable altering job schedule type through alter_job * https://github.com/timescale/timescaledb/pull/5805 Make logrepl markers for (partial) decompressions * https://github.com/timescale/timescaledb/pull/5809 Relax invalidation threshold table-level lock to row-level when refreshing a Continuous Aggregate * https://github.com/timescale/timescaledb/pull/5839 Support CAgg names in chunk_detailed_size * https://github.com/timescale/timescaledb/pull/5852 Make set_chunk_time_interval CAggs aware * https://github.com/timescale/timescaledb/pull/5868 Allow ALTER TABLE ... REPLICA IDENTITY (FULL|INDEX) on materialized hypertables (continuous aggregates) * https://github.com/timescale/timescaledb/pull/5875 Add job exit status and runtime to log * https://github.com/timescale/timescaledb/pull/5909 CREATE INDEX ONLY ON hypertable creates index on chunks

Bugfixes * https://github.com/timescale/timescaledb/pull/5860 Fix interval calculation for hierarchical CAggs * https://github.com/timescale/timescaledb/pull/5894 Check unique indexes when enabling compression * https://github.com/timescale/timescaledb/pull/5951 _timescaledb_internal.create_compressed_chunk doesn't account for existing uncompressed rows * https://github.com/timescale/timescaledb/pull/5988 Move functions to _timescaledb_functions schema * https://github.com/timescale/timescaledb/pull/5788 Chunk_create must add an existing table or fail * https://github.com/timescale/timescaledb/pull/5872 Fix duplicates on partially compressed chunk reads * https://github.com/timescale/timescaledb/pull/5918 Fix crash in COPY from program returning error * https://github.com/timescale/timescaledb/pull/5990 Place data in first/last function in correct mctx * https://github.com/timescale/timescaledb/pull/5991 Call eq_func correctly in time_bucket_gapfill * https://github.com/timescale/timescaledb/pull/6015 Correct row count in EXPLAIN ANALYZE INSERT .. ON CONFLICT output * https://github.com/timescale/timescaledb/pull/6035 Fix server crash on UPDATE of compressed chunk * https://github.com/timescale/timescaledb/pull/6044 Fix server crash when using duplicate segmentby column * https://github.com/timescale/timescaledb/pull/6045 Fix segfault in set_integer_now_func * https://github.com/timescale/timescaledb/pull/6053 Fix approximate_row_count for CAggs * https://github.com/timescale/timescaledb/pull/6081 Improve compressed DML datatype handling * https://github.com/timescale/timescaledb/pull/6084 Propagate parameter changes to decompress child nodes * https://github.com/timescale/timescaledb/pull/6102 Schedule compression policy more often

Thanks * @ajcanterbury for reporting a problem with lateral joins on compressed chunks * @alexanderlaw for reporting multiple server crashes * @lukaskirner for reporting a bug with monthly continuous aggregates * @mrksngl for reporting a bug with unusual user names * @willsbit for reporting a crash in time_bucket_gapfill