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
17.61k stars 883 forks source link

Fix _timescaledb_functions.remove_dropped_chunk_metadata #6911

Closed svenklemm closed 4 months ago

svenklemm commented 4 months ago

The removal function would only remove chunk_constraints that are part of dimension constraints. This patch changes it to remove all constraints of a chunk.

Fixes #6905

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 81.68%. Comparing base (59f50f2) to head (bcc35b7). Report is 167 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6911 +/- ## ========================================== + Coverage 80.06% 81.68% +1.61% ========================================== Files 190 198 +8 Lines 37181 36836 -345 Branches 9450 9634 +184 ========================================== + Hits 29770 30088 +318 + Misses 2997 2876 -121 + Partials 4414 3872 -542 ```

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