Logging corruption error codes - Mailing list pgsql-bugs

From Andrey Borodin
Subject Logging corruption error codes
Date
Msg-id 25F6C686-6442-4A6B-BAF8-A6F7B84B16DE@yandex-team.ru
Whole thread Raw
Responses Re: Logging corruption error codes
Re: Logging corruption error codes
List pgsql-bugs
Hi!

We are fine-tuning our data corruption monitoring and found out that many corruption cases do not report proper error
code.
This makes automatic log analyzer way too smart program.
We think that corruption error codes should be given in cases when B-tree or TOAST do not know how to interpret data.
PFA patch with cases that we have found in logs and consider evidence of corruption.

Best regards, Andrey Borodin.

Attachment

pgsql-bugs by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: Querying foreign table with SP-GiST index results in “ERROR: cache lookup failed for type 0”
Next
From: RJ Ewing
Date:
Subject: Re: BUG #15861: jsonb exists query retuning inconsistentresults