This is an automated backport of #6911: Fix _timescaledb_functions.remove_dropped_chunk_metadata.
The original issue is #6905.
This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.
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.
This is an automated backport of #6911: Fix _timescaledb_functions.remove_dropped_chunk_metadata. The original issue is #6905. This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.
For more details, please see the documentation
Original description
Fix _timescaledb_functions.remove_dropped_chunk_metadata
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