timescale / timescaledb

An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.
https://www.timescale.com/
Other
16.83k stars 852 forks source link

Fix segfault on non-open primary dimension when compressing #6978

Closed svenklemm closed 1 month ago

svenklemm commented 1 month ago

With the new hypertable API hypertables can be created with primary space partition. In dev-builds this was prevented with Asserts. This patch removes the Asserts and adds a proper check.

Fixes #6977

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.72%. Comparing base (59f50f2) to head (85a9a3e). Report is 190 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6978 +/- ## ========================================== + Coverage 80.06% 81.72% +1.66% ========================================== Files 190 199 +9 Lines 37181 36936 -245 Branches 9450 9651 +201 ========================================== + Hits 29770 30187 +417 + Misses 2997 2870 -127 + Partials 4414 3879 -535 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.