1
0
mirror of https://github.com/timescale/timescaledb.git synced 2025-05-31 18:25:59 +08:00

131 Commits

Author SHA1 Message Date
Jan Nidzwetzki
a69c4682ce Release 2.13.1
This release contains bug fixes since the 2.13.0 release.
We recommend that you upgrade at the next available opportunity.

**Bugfixes**
*  Use numrows_pre_compression in approximate row count
*  Use processed group clauses in PG16
*  Change bgw_log_level to use PGC_SUSET
*  Disable vectorized sum for expressions.
*  Fix groupby pathkeys for gapfill in PG16
*  Fix index matching during DML decompression
*  Fix compressed chunk permission handling on PG16
*  Fix lost concurrent CAgg updates
*  Fix unique expression indexes on compressed chunks
*  Fix use of freed path in decompression sort logic

**Thanks**
* @MA-MacDonald for reporting an issue with gapfill in PG16
* @aarondglover for reporting an issue with unique expression indexes on compressed chunks
* @adriangb for reporting an issue with security barrier views on pg16
2024-01-04 10:04:10 +01:00
Jan Nidzwetzki
3b59a8a774 Post-release fixes for 2.13.0
Bumping the previous version and adding tests for 2.13.0.
2023-11-29 21:49:17 +01:00
Jan Nidzwetzki
337adb63fc Release 2.13.0
This release contains performance improvements, an improved hypertable DDL API
and bug fixes since the 2.12.2 release. We recommend that you upgrade at the next
available opportunity.

In addition, it includes these noteworthy features:

* Full PostgreSQL 16 support for all existing features
* Vectorized aggregation execution for sum()
* Track chunk creation time used in retention/compression policies

**Deprecation notice: Multi-node support**
TimescaleDB 2.13 is the last version that will include multi-node support. Multi-node
support in 2.13 is available for PostgreSQL 13, 14 and 15. Learn more about it
[here](docs/MultiNodeDeprecation.md).

If you want to migrate from multi-node TimescaleDB to single-node TimescaleDB read the
[migration documentation](https://docs.timescale.com/migrate/latest/multi-node-to-timescale-service/).

**PostgreSQL 13 deprecation announcement**
We will continue supporting PostgreSQL 13 until April 2024. Sooner to that time, we will
announce the specific version of TimescaleDB in which PostgreSQL 13 support will not be
included going forward.

**Starting from TimescaleDB 2.13.0**
* No Amazon Machine Images (AMI) are published. If you previously used AMI, please
use another [installation method](https://docs.timescale.com/self-hosted/latest/install/)
* Continuous Aggregates are materialized only (non-realtime) by default

**Features**
*  Add chunk-wise sorted paths for compressed chunks
*  Simplify hypertable DDL API
*  Reduce WAL activity by freezing compressed tuples immediately
*  Vectorized aggregation execution for sum()
*  Add metadata for chunk creation time
*  Make Continous Aggregates materialized only (non-realtime) by default
*  Change show_chunks/drop_chunks using chunk creation time
*  Show batches/tuples decompressed during DML operations in EXPLAIN output
*  Keep track of catalog version
*  Use creation time in retention/compression policy
*  Add SQL function cagg_validate_query

**Bugfixes**
*  Add GUC for setting background worker log level
*  Allow enabling compression on hypertable with unique expression index
*  Check if worker registration succeeded
*  Fix exception detail passing in compression_policy_execute
*  Fix missing bms_del_member result assignment
*  Fix negative bitmapset member not allowed in compression
*  Potential data loss when compressing a table with a partial index that matches compression order.
*  Add support for startup chunk exclusion with aggs
*  Repair relacl on upgrade
*  Fix segfault when creating a cagg using a NULL width in time bucket function
*  Make timescaledb_functions.makeaclitem strict
*  Fix typmod and collation for segmentby columns
*  Fix tablespace with constraints
*  Enable segmentwise recompression in compression policy

**Thanks**
* @fetchezar for reporting an issue with compression policy error messages
* @jflambert for reporting the background worker log level issue
* @torazem for reporting an issue with compression and large oids
* @fetchezar for reporting an issue in the compression policy
* @lyp-bobi for reporting an issue with tablespace with constraints
* @pdipesh02 for contributing to the implementation of the metadata for chunk creation time,
             the generalized hypertable API, and show_chunks/drop_chunks using chunk creation time
* @lkshminarayanan for all his work on PG16 support
2023-11-27 16:13:51 +01:00
Sven Klemm
1126b08567 2.12.2 Post-release
Add 2.12.2 to update test scripts and add update downgrade metadata.
2023-10-23 18:31:36 +02:00
Sven Klemm
21a3ebd77c Release 2.12.2
This release contains bug fixes since the 2.12.1 release.
We recommend that you upgrade at the next available opportunity.

**Bugfixes**
*  Align gapfill bucket generation with time_bucket
*  Ensure fixed_schedule field is populated
*  Fix EXPLAIN ANALYZE for compressed DML
2023-10-19 14:37:28 +02:00
Konstantina Skovola
5752c33b0a Post-release fixes for 2.12.1
Bumping the previous version and adding tests for 2.12.1.
Also adjust tagging date in changelog.
2023-10-13 10:55:51 +03:00
Konstantina Skovola
6af0cb00c9 Release 2.12.1
This release contains bug fixes since the 2.12.0 release.
We recommend that you upgrade at the next available opportunity.

**Bugfixes**
*  Fix planner distributed table count
*  Avoid decompressing batches using an empty slot
*  Fix concurrency errors in OSM API
*  Do not throw an error when deprecation GUC cannot be read

**Thanks**
* @symbx for reporting a crash when selecting from empty hypertables
2023-10-10 12:33:48 +03:00
Sven Klemm
b339131c68 2.12.0 Post-release adjustments 2023-09-27 09:38:11 +02:00
Sven Klemm
8c41757358 Release 2.12.0
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**
*  Insert into index during chunk compression
*  MERGE support on hypertables
*  Make hypertables support replica identity
*  Index scan support during UPDATE/DELETE on compressed hypertables
*  Support for partial aggregations at chunk level
*  Enable ChunkAppend for partially compressed chunks
*  Improve the number of parallel workers for decompression
*  Enable altering job schedule type through `alter_job`
*  Make logrepl markers for (partial) decompressions
*  Relax invalidation threshold table-level lock to row-level when refreshing a Continuous Aggregate
*  Support CAgg names in chunk_detailed_size
*  Make set_chunk_time_interval CAggs aware
*  Allow ALTER TABLE ... REPLICA IDENTITY (FULL|INDEX) on materialized hypertables (continuous aggregates)
*  Add job exit status and runtime to log
*  CREATE INDEX ONLY ON hypertable creates index on chunks

**Bugfixes**
*  Fix interval calculation for hierarchical CAggs
*  Check unique indexes when enabling compression
*  _timescaledb_internal.create_compressed_chunk doesn't account for existing uncompressed rows
*  Move functions to _timescaledb_functions schema
*  Chunk_create must add an existing table or fail
*  Fix duplicates on partially compressed chunk reads
*  Fix crash in COPY from program returning error
*  Place data in first/last function in correct mctx
*  Call eq_func correctly in time_bucket_gapfill
*  Correct row count in EXPLAIN ANALYZE INSERT .. ON CONFLICT output
*  Fix server crash on UPDATE of compressed chunk
*  Fix server crash when using duplicate segmentby column
*  Fix segfault in set_integer_now_func
*  Fix approximate_row_count for CAggs
*  Improve compressed DML datatype handling
*  Propagate parameter changes to decompress child nodes

**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
2023-09-20 11:01:44 +02:00
Konstantina Skovola
2080c3c0f0 Post-release fixes for 2.11.2
Bumping the previous version and adding tests for 2.11.2
2023-08-21 09:48:06 +03:00
Konstantina Skovola
44eab9cf9b Release 2.11.2
This release contains bug fixes since the 2.11.1 release.
We recommend that you upgrade at the next available opportunity.

**Features**
*  Feature flags for TimescaleDB features

**Bugfixes**
*  Fix DISTINCT query with JOIN on multiple segmentby columns
*  Fixed two bugs in decompression sorted merge code
*  Ensure pg_config --cppflags are passed
*  Fix quoting owners in sql scripts.
*  Fix crash in 1-step integer policy creation

**Thanks**
* @mrksngl for submitting a PR to fix extension upgrade scripts
* @ericdevries for reporting an issue with DISTINCT queries using
segmentby columns of compressed hypertable
2023-08-09 19:24:21 +03:00
Jan Nidzwetzki
8a58101095 Post-release fixes for 2.11.1
Bumping the previous version and adding tests for 2.11.1.
2023-06-30 09:54:57 +02:00
Jan Nidzwetzki
8ae2da6260 Release 2.11.1
This release contains bug fixes since the 2.11.0 release. We recommend
that you upgrade at the next available opportunity.

**Features**
*  Teach loader to load OSM extension

**Bugfixes**
*  Scheduler accidentally getting killed when calling `delete_job`
*  Fix Result node handling with ConstraintAwareAppend on
  compressed chunks
*  Ensure tlist is present in decompress chunk plan
*  Fixed handling of NULL values in bookend_sfunc
*  Fixed batch look ahead in compressed sorted merge
*  Mark cagg_watermark function as PARALLEL RESTRICTED
*  Copy job config JSONB structure into current MemoryContext
*  Improve continuous aggregate query chunk exclusion

**Thanks**
* @JamieD9 for reporting an issue with a wrong result ordering
* @xvaara for reporting an issue with Result node handling in
  ConstraintAwareAppend
2023-06-28 16:49:02 +02:00
Zoltan Haindrich
ab2cccb6e2 Post-release 2.11.0
Adjust the upgrade/downgrade scripts and add the tests.

(cherry picked from commit d5fea0a842cbd38d2d72db16e9e67f1c9b1ccf36)
2023-05-25 18:22:32 +02:00
Zoltan Haindrich
f58d8c20c2 Release 2.11.0 2023-05-17 15:04:30 +02:00
Fabrízio de Royes Mello
cc9c3b3431 Post-release 2.10.3
Adjust the upgrade/downgrade scripts and add the tests.
2023-04-28 10:05:11 -03:00
Alexander Kuzmenkov
12f3131f9e Post-release 2.10.2
Adjust the upgrade/downgrade scripts and add the tests.
2023-04-20 17:55:18 +04:00
Sven Klemm
00321dba41 2.10.1 Post-release adjustments
Add 2.10.1 to update test scripts and adjust the downgrade versioning.
2023-03-07 13:44:54 +01:00
Sven Klemm
d386aa1def Release 2.10.1
This release contains bug fixes since the 2.10.0 release.
We recommend that you upgrade at the next available opportunity.

**Bugfixes**
*  Support Continuous Aggregates names in hypertable_(detailed_)size
*  Fix concurrent locking with chunk_data_node table
*  Fix some incorrect memory handling
*  Use NameData and namestrcpy for names
*  Set PortalContext when starting job
*  Fix uninitialized bucket_info variable
*  Make copy fetcher more async
*  Fix num_chunks inconsistency in hypertables view
*  Fix column name handling in old-style continuous aggregates
*  Fix multinode DML HA performance regression
*  Fix Hierarchical Continuous Aggregates chunk_interval_size

**Thanks**
* @justinozavala for reporting an issue with PL/Python procedures in the background worker
* @Medvecrab for discovering an issue with copying NameData when forming heap tuples.
* @pushpeepkmonroe for discovering an issue in upgrading old-style
  continuous aggregates with renamed columns
* @pushpeepkmonroe for discovering an issue in upgrading old-style continuous aggregates with renamed columns
2023-03-07 01:23:38 +01:00
Maheedhar PV
c8c50dad7e Post-release fixes for 2.10.0
Bumping the previous version and adding tests for 2.10.0
2023-02-24 12:03:36 +01:00
Maheedhar PV
91b4a66eb9
Release 2.10.0 ()
This release contains new features and bug fixes since the 2.9.3
release.

This release is high priority for upgrade. We strongly recommend that
you upgrade as soon as possible.

**Features**
*  Allow RETURNING clause when inserting into compressed chunks
*  Manage life-cycle of connections via memory contexts
*  Make connection establishment interruptible
*  Make data node command execution interruptible
*  Enable real-time aggregation for continuous aggregates with
joins
*  Extend enabling compression on a continuous aggregrate with
'compress_segmentby' and 'compress_orderby' parameters

**Bugfixes**
*  Fix corruption when inserting into compressed chunks
*  Add role-level security to job error log
*  Fix use of prepared statement in async module
*  Compression can't be enabled on continuous aggregates when
segmentby/orderby columns need quotation
*  Fix next_start calculation for fixed schedules
2023-02-20 11:06:05 +05:30
Lakshmi Narayanan Sreethar
1eb8aa3f14 Post-release fixes for 2.9.3
Bumping the previous version and adding tests for 2.9.3.
2023-02-07 15:53:42 +05:30
Lakshmi Narayanan Sreethar
fb3ad7d6c6 Release 2.9.3
This release contains bug fixes since the 2.9.2 release.
This release is high priority for upgrade. We strongly recommend that you
upgrade as soon as possible.

**Bugfixes**
*  Skip bucketing when start or end of refresh job is null
*  Fix column ordering in compressed table index not following the order of a multi-column segment by definition
*  Don't enable clang-tidy by default
*  Fix year not being considered as a multiple of day/month in hierarchical continuous aggregates
*  Lock down search_path in SPI calls
2023-02-03 20:04:18 +05:30
Bharathy
684637a172 Post-release fixes for 2.9.2
Bumping the previous version and adding tests for 2.9.2
2023-01-25 17:54:54 +05:30
Bharathy
f211294c61 Release 2.9.2
This release contains bug fixes since the 2.9.1 release.
We recommend that you upgrade at the next available opportunity.

**Bugfixes**
*  Fix issue with deleting data node and dropping the database on multi-node
*  Fix creating a CAgg on a CAgg where the time column is in a different order of the original hypertable
*  Fix adding column with NULL constraint to compressed hypertable
*  Fix CAgg on CAgg variable bucket size validation
*  Fix default data node availability status on multi-node
*  Fix ChunkAppend and ConstraintAwareAppend with TidRangeScan child subplan
*  Fix repartition behavior when attaching data node on multi-node
2023-01-23 15:55:10 +05:30
Sven Klemm
b92f36d765 Add 2.9.1 to update test scripts 2022-12-27 09:24:57 +01:00
Sven Klemm
93667df7d8 Release 2.9.1
This release contains bug fixes since the 2.9.0 release.
This release is high priority for upgrade. We strongly recommend that you
upgrade as soon as possible.

**Bugfixes**
*  Fix CAgg on CAgg bucket size validation
*  Fix enabling compression on caggs with renamed columns
*  Fix building against PG15 on Windows
*  Fix postgres server restart on background worker exit
*  Fix privileges for job_errors in update script
2022-12-23 14:38:45 +01:00
Sven Klemm
08bb21f7e6 2.9.0 Post-release adjustments
Add 2.9.0 to update test scripts and adjust downgrade scripts for
2.9.0. Additionally adjust CHANGELOG to sync with the actual release
CHANGELOG and add PG15 to CI.
2022-12-19 19:10:24 +01:00
Sachin
cd4509c2a3 Release 2.9.0
This release adds major new features since the 2.8.1 release.
We deem it moderate priority for upgrading.

This release includes these noteworthy features:
* Hierarchical Continuous Aggregates (aka Continuous Aggregate on top of another Continuous Aggregate)
* Improve `time_bucket_gapfill` function allowing specifying timezone to bucket
* Use `alter_data_node()` to change the data node configuration. This function introduces the option to configure the availability of the data node.

This release also includes several bug fixes.

**Features**
*  Batch rows on access node for distributed COPY
*  Exponentially backoff when out of background workers
*  Show warnings when not following best practices
*  Introduce fixed schedules for background jobs
*  Hierarchical Continuous Aggregates
*  Add timezone support to time_bucket_gapfill
*  Add interface for troubleshooting job failures
*  Add ability to merge chunks while compressing
*  Extend the now() optimization to also apply to CURRENT_TIMESTAMP
*  Support parameterized data node scans in joins
*  Add function to change configuration of a data nodes
*  Handle DML activity when datanode is not available
*  Add function to drop stale chunks on a datanode

**Bugfixes**
*  Don't error when compression metadata is missing
*  Fix now() constification for VIEWs
*  Fix compression_chunk_size primary key
*  Report warning when enabling compression on hypertable
*  Fix FK constraint violation error while insert into hypertable which references partitioned table
*  Improve compression job IO performance
*  Continue compressing other chunks after an error
*  Fix degraded performance seen on timescaledb_internal.hypertable_local_size() function
*  Fix segmentation fault during INSERT into compressed hypertable
*  Fix missing segmentby compression option in CAGGs
*  Fix a crash that could occur when using nested user-defined functions with hypertables
*  Fix performance regressions in the copy code
*  Block multi-statement DDL command in one query
*  Fix cagg migration failure when trying to resume
*  Remove BitmapScan support in DecompressChunk
*  Fix a performance regression in the query planner by speeding up frozen chunk state checks
*  Fix a typo in process_compressed_data_out
*  Cagg migration orphans cagg policy
*  Restrict usage of the old format (pre 2.7) of continuous aggregates in PostgreSQL 15.
*  Fix cagg migration for hypertables using timestamp without timezone
*  Check for interrupts in gapfill main loop
*  Fix cagg migration crash when refreshing the newly created cagg

**Thanks**
* @jflambert for reporting a crash with nested user-defined functions.
* @jvanns for reporting hypertable FK reference to vanilla PostgreSQL partitioned table doesn't seem to work
* @kou for fixing a typo in process_compressed_data_out
* @xvaara for helping reproduce a bug with bitmap scans in transparent decompression
* @byazici for reporting a problem with segmentby on compressed caggs
* @tobiasdirksen for requesting Continuous aggregate on top of another continuous aggregate
* @xima for reporting a bug in Cagg migration
2022-12-05 19:33:45 +05:30
Jan Nidzwetzki
2f739bb328 Post-release fixes for 2.8.1
Bumping the previous version and adding tests for 2.8.1.
2022-10-07 10:10:22 +02:00
Jan Nidzwetzki
12b7b9f665 Release 2.8.1
This release is a patch release. We recommend that you upgrade at the
next available opportunity.

**Bugfixes**
*  Keep locks after reading job status
*  Fix error when querying a compressed hypertable with compress_segmentby on an enum column
*  Fix a possible error while flushing the COPY data
*  Fix bad TupleTableSlot drop
*  Fix a deadlock when decompressing chunks and performing SELECTs
*  Fix chunk exclusion for space partitions in SELECT FOR UPDATE queries
*  Change parameter names of cagg_migrate procedure
*  Do not use row-by-row fetcher for parameterized plans
*  Remove support for procedures as custom checks
*  Fix assertion failure in constify_now
*  Fix Continuous Aggregate migration policies
*  Fix chunk exclusion for prepared statements and dst changes
*  Fix gapfill function signature
*  Fix join on time column of compressed chunk
*  Fix error when waiting for remote COPY to finish
*  Fix continuous aggregate migrate check constraint
*  Fix segfault when INNER JOINing hypertables
*  Fix permission issues on index creation for CAggs

**Thanks**
* @boxhock and @cocowalla for reporting a segfault when JOINing hypertables
* @carobme for reporting constraint error during continuous aggregate migration
* @choisnetm, @dustinsorensen, @jayadevanm and @joeyberkovitz for reporting a problem with JOINs on compressed hypertables
* @daniel-k for reporting a background worker crash
* @justinpryzby for reporting an error when compressing very wide tables
* @maxtwardowski for reporting problems with chunk exclusion and space partitions
* @yuezhihan for reporting GROUP BY error when having compress_segmentby on an enum column
2022-10-05 14:40:25 +02:00
Sven Klemm
3722b0bf23 Add 2.8.0 to update tests
Add 2.8.0 to update tests and adjust the downgrade script files.
2022-09-01 18:32:10 +02:00
Sven Klemm
f432d7f931 Release 2.8.0
This release adds major new features since the 2.7.2 release.
We deem it moderate priority for upgrading.

This release includes these noteworthy features:

* time_bucket now supports bucketing by month, year and timezone
* Improve performance of bulk SELECT and COPY for distributed hypertables
* 1 step CAgg policy management
* Migrate Continuous Aggregates to the new format

**Features**
*  Use COPY protocol in row-by-row fetcher
*  Mark partialize_agg as parallel safe
*  Enable chunk exclusion for space dimensions in UPDATE/DELETE
*  Add schedule_interval to policies
*  Faster lookup of chunks by point
*  Support intervals with day component when constifying now()
*  Support intervals with month component when constifying now()
*  Support ON CONFLICT ON CONSTRAINT for hypertables
*  Add telemetry about replication
*  Drop remote data when detaching data node
*  Handle TRUNCATE TABLE on chunks
*  Add parameter check_config to alter_job
*  Create index on Continuous Aggregates
*  Allow ORDER BY on continuous aggregates
*  Add stateful partition mappings
*  Use non-blocking data node connections for COPY
*  Support add_dimension() with existing data
*  Add chunks to baserel cache on chunk exclusion
*  Add hypertable distributed argument and defaults
*  Migrate Continuous Aggregates to the new format
*  Add runtime exclusion for hypertables
*  Change get_git_commit to return full commit hash
*  1 step CAgg policy management
*  Allow bucketing by month, year, century in time_bucket and time_bucket_gapfill
*  Add timezone support to time_bucket

**Bugfixes**
*  Create composite index on segmentby columns
*  Remove constified now() constraints from plan
*  Handle TRUNCATE TABLE on chunks
*  Synchronize chunk cache sizes
*  Adding boolean column with default value doesn't work on compressed table
*  Fix unaligned pointer access
*  Throw better error message on incompatible row fetcher settings
*  Fix dump_meta_data for windows
*  Fix timescaledb_post_restore GUC handling
*  Load TSL library on compressed_data_out call
*  Fix use of `get_partition_hash` and `get_partition_for_key` inside an IMMUTABLE function
*  Fix segfaults in compression code with corrupt data
*  Handle default privileges on CAggs properly
*  Fix assertion in GRANT .. ON ALL TABLES IN SCHEMA
*  Fix partitioning functions
*  Fix rename for distributed hypertable
*  Reset compression sequence when group resets
*  Fix a potential OOM when loading large data sets into a hypertable
*  Fix heap buffer overflow
*  Fix telemetry initialization
*  Ensure TSL library is loaded on database upgrades
*  Fix time_bucket_ng origin handling
*  Fix the error "SubPlan found with no parent plan" that occurred if using joins in RETURNING clause.

**Thanks**
* @AlmiS for reporting error on `get_partition_hash` executed inside an IMMUTABLE function
* @Creatation for reporting an issue with renaming hypertables
* @janko for reporting an issue when adding bool column with default value to compressed hypertable
* @jayadevanm for reporting error of TRUNCATE TABLE on compressed chunk
* @michaelkitson for reporting permission errors using default privileges on Continuous Aggregates
* @mwahlhuetter for reporting error in joins in RETURNING clause
* @ninjaltd and @mrksngl for reporting a potential OOM when loading large data sets into a hypertable
* @PBudmark for reporting an issue with dump_meta_data.sql on Windows
* @ssmoss for reporting an issue with time_bucket_ng origin handling
2022-08-31 16:33:21 +02:00
Sven Klemm
7608cb8719 2.7.2 Post-release
Add 2.7.2 to update tests and adjust downgrade script generation for
2.7.2.
2022-07-25 13:16:28 +02:00
Sven Klemm
851fffb1ae Release 2.7.2
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**

*  Fix prepared statement param handling in ChunkAppend
*  Fix ANALYZE on dist hypertable for a set of nodes
*  Fix gapfill group comparison for TOASTed values
*  Handle stats properly for range types
*  Fix memory leak in function telemetry
*  Use explicit memory context with hash_create
*  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
2022-07-22 18:43:23 +02:00
Mats Kindahl
5670378e03 Post-release fixes for 2.7.1 2022-07-12 12:18:25 +02:00
Sven Klemm
cf9b626794 Post-Release 2.7.0
Adjust version.config and add 2.7.0 to update/downgrade test.
2022-05-24 12:54:06 +02:00
Sven Klemm
0a68209563 Release 2.7.0
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](https://www.postgresql.org/docs/current/functions-aggregate.html#FUNCTIONS-ORDEREDSET-TABLE)
  and [Hypothetical-Set Aggregate](https://www.postgresql.org/docs/current/functions-aggregate.html#FUNCTIONS-HYPOTHETICAL-TABLE)
* 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**
*  Custom origin's support in CAGGs
*  Add logging for retention policy
*  Allow ANALYZE command on a data node directly
*  Add support for chunk exclusion on DELETE to PG14
*  Add support for chunk exclusion on UPDATE to PG14
*  Continuous Aggregates finals form
*  Add support for bulk inserts in COPY operator
*  Support non-superuser move chunk operations
*  Add GUC "bgw_launcher_poll_time"
*  Enable now() usage in plan-time chunk exclusion

**Bugfixes**
*  Fix segfault in Continuous Aggregates
*  Fix TRUNCATE error as non-owner on hypertable
*  Fix potential wrong order of results for compressed hypertable with a non-default collation
*  Fix option "timescaledb.create_group_indexes"
*  Fix INSERT into compressed chunks with dropped columns
*  Fix option "timescaledb.create_group_indexes"
*  Fix logic bug in extension update script
*  Fix bad Continuous Aggregate view definition reported in 
*  Support moving compressed chunks between data nodes
*  Fix refresh window cap for cagg refresh policy
*  Fix memory leak in scheduler
*  Remove printouts from signal handlers
*  Fix move chunk cleanup logic
*  Fix crashes in functions using AlterTableInternal
*  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
2022-05-23 17:58:20 +02:00
Sven Klemm
bdaa4607d4 Post release 2.6.1
Add 2.6.1 to update and downgrade tests.
2022-04-12 11:52:31 +02:00
Rafia Sabih
4d47271ad3 2.6.1 (2022-04-11)
This release is patch release. We recommend that you upgrade at the next available opportunity.

**Bugfixes**
*  Fix remote EXPLAIN with parameterized queries
*  Fix segfault on INSERT into distributed hypertable
*  Ignore invalid relid when deleting hypertable
*  Fix ADD COLUMN IF NOT EXISTS error on compressed hypertable
*  Fix memory handling during scans
*  Fix owner change for distributed hypertable
*  Abort sessions after extension reload
*  Fix relcache callback handling causing crashes

**Thanks**
* @abrownsword for reporting a crash in the telemetry reporter
* @daydayup863 for reporting issue with remote explain
2022-04-08 18:15:35 +02:00
Alexander Kuzmenkov
f29340281e Post release 2.6.0 2022-02-18 14:18:27 +03:00
Alexander Kuzmenkov
9e7fbf7f69 Release 2.6.0
This release is 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:

Compression in continuous aggregates Experimental support for timezones
in continuous aggregates Experimental support for monthly buckets in
continuous aggregates It also includes several bug fixes. Telemetry
reports are switched to a new format, and now include more detailed
statistics on compression, distributed hypertables and indexes.

**Features**

*  Allow ALTER TABLE ADD COLUMN with DEFAULT on compressed
hypertable
*  Allow ALTER TABLE DROP COLUMN on compressed hypertable
*  Optimize first/last
*  Add support for ALTER SCHEMA on multi-node
*  Add support for DROP SCHEMA on multi-node

**Bugfixes**

*  Properly handle max_retries option
*  Fix remote transaction heal logic
*  Fix ALTER SET/DROP NULL contstraint on distributed hypertable
*  Fix segfault in add_compression_policy
*  Fix crash in EXPLAIN VERBOSE on distributed hypertable
*  Eliminate float rounding instabilities in interpolate
*  Update ts_extension_oid in transitioning state
*  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
2022-02-17 19:22:46 +03:00
Sven Klemm
c07fe1f883 Post Release 2.5.2
Add 2.5.2 to update/downgrade scripts
2022-02-10 12:13:01 +01:00
Sven Klemm
f0d163603c Release 2.5.2
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**
*  Improve custom scan node registration
*  Fix role type deparsing for GRANT command
*  Fix DataNodeScan plans with one-time filter
*  Fix segfault on insert into internal compressed table
*  Fix subtract_integer_from_now on 32-bit platforms and improve error handling
*  Fix projection handling in time_bucket_gapfill
*  Avoid double PGclear() in data fetchers
*  Fix deparsing of index predicates
*  Eliminate float rounding instabilities in interpolate
*  Fix ALTER TABLE EventTrigger initialization
*  Fix premature cache release call
*  Fix status for dropped chunks that have catalog entries
*  Fix riinfo NULL handling in ANY construct
*  Fix extension installation privilege escalation
*  Fix buffer overflow in partition scheme

**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

Security: CVE-2022-24128
2022-02-09 20:05:50 +01:00
Duncan Moore
1bc1993c61 Post release 2.5.1 2021-12-03 13:51:11 -05:00
Duncan Moore
94dc837394 Release 2.5.1 2021-12-02 15:11:36 -05:00
Fabrízio de Royes Mello
df7f058ad1 Post release 2.5.0
Add 2.5.0 to update test scripts for PG12 and PG13 and create update
test script for PG14.

Fix missing CHANGELOG thanks for external contributors.
2021-10-28 10:09:19 -03:00
Fabrízio de Royes Mello
8925dd8e15 Release 2.5.0
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**
*  Add support for PostgreSQL 14
*  Add continuous aggregates for distributed hypertables
*  Add support for timezones in `time_bucket_ng()`

**Bugfixes**
*  Fix memory context bug executing TRUNCATE
*  Allow alter column type on distributed hypertable
*  Improve evaluation of stable functions such as now() on access
node
*  Fix execution of refresh_caggs from user actions
*  Add shared dependencies when creating chunk
*  Fix memory context bug executing TRUNCATE
*  Schema qualify UDTs in multi-node
*  Allow owner change of a data node
*  Fix index attnum mapping in reorder_chunk
*  Fix SkipScan path generation with constant DISTINCT column
*  Fix compress_policy for multi txn handling
*  Fix distributed hypertable DROP within a procedure
*  Allow anyone to use size utilities on distributed hypertables
*  Fix crash in get_aggsplit
*  Fix ordered append pathkey check
*  Fix GRANT/REVOKE ALL IN SCHEMA handling
*  Support transparent decompression on individual chunks
*  Fix inserts into compressed chunks on hypertables with caggs
*  Fix DirectFunctionCall crash in distributed_exec
*  Fix SkipScan with varchar column
*  Fix ANALYZE crash with custom statistics for custom types
*  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
2021-10-27 17:28:26 -03:00
Sven Klemm
6838fcf906 Post 2.4.2 release
Update version numbers and add 2.4.2 to update tests.

We have to put the DROP FUNCTION back in latest-dev because
2.4.2 did not include the commit which removed the function
definitions.
2021-09-22 18:20:30 +02:00
Sven Klemm
3f944bee82 Release 2.4.2
This release contains bug fixes since the 2.4.1 release.
We deem it high priority to upgrade.

**Bugfixes**
*  Rename on all continuous aggregate objects
*  Use signal-safe functions in signal handler
*  Modify compression job processing logic
*  Fix time_bucket_ng behaviour with origin argument
*  Fix bootstrap with regresschecks disabled
*  Fix failure on job execution by background worker
*  Call cleanup functions on backend exit

**Thanks**
* @jankatins for reporting a crash with background workers
* @LutzWeischerFujitsu for reporting an issue with bootstrap
2021-09-20 19:22:13 +02:00