This is an automated backport of #6943: Use the proper error code for corrupt compressed array.
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.
This is an automated backport of #6943: Use the proper error code for corrupt compressed array. 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
Use the proper error code for corrupt compressed array
Currently we use elog() which has a wrong error code XX000.
Disable-check: force-changelog-file