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

Use the proper error code for corrupt compressed array #6943

Closed akuzm closed 4 months ago

akuzm commented 4 months ago

Currently we use elog() which has a wrong error code XX000.

Disable-check: force-changelog-file

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 81.67%. Comparing base (59f50f2) to head (39ee4c2). Report is 170 commits behind head on main.

Files Patch % Lines
tsl/src/compression/array.c 0.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6943 +/- ## ========================================== + Coverage 80.06% 81.67% +1.60% ========================================== Files 190 198 +8 Lines 37181 36850 -331 Branches 9450 9636 +186 ========================================== + Hits 29770 30098 +328 + Misses 2997 2872 -125 + Partials 4414 3880 -534 ```

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