pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Andrey Borodin <x4mmm@yandex-team.ru>
To: pgsql-bugs@lists.postgresql.org, Анна Крханбарова <annkpx@yandex-team.ru>
To: Dmitriy Sarafannikov <dsarafan@yandex-team.ru>
Subject: Re: Logging corruption error codes
Date: Mon, 22 Jul 2019 13:16:21 +0200
Message-ID: <3695257b-f39e-be01-17bd-77ae8dd5510d@2ndquadrant.com> (raw)
In-Reply-To: <25F6C686-6442-4A6B-BAF8-A6F7B84B16DE@yandex-team.ru>
References: <25F6C686-6442-4A6B-BAF8-A6F7B84B16DE@yandex-team.ru>
On 2019-06-20 11:57, Andrey Borodin wrote:
> 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.
Should we use errmsg_internal() in the adjusted calls, so that the error
messages are not picked up for translation? I could go either way, but
it's something that should be considered.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
view thread (12+ messages) latest in thread
Message-ID: <3695257b-f39e-be01-17bd-77ae8dd5510d@2ndquadrant.com> Permalink: ../3695257b-f39e-be01-17bd-77ae8dd5510d@2ndquadrant.com/ Also on: postgresql.org/message-id/3695257b-f39e-be01-17bd-77ae8dd5510d@2ndquadrant.com ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-bugs@postgresql.org Cc: peter.eisentraut@2ndquadrant.com, x4mmm@yandex-team.ru, annkpx@yandex-team.ru, dsarafan@yandex-team.ru Subject: Re: Logging corruption error codes In-Reply-To: <3695257b-f39e-be01-17bd-77ae8dd5510d@2ndquadrant.com> References: <25F6C686-6442-4A6B-BAF8-A6F7B84B16DE@yandex-team.ru> <3695257b-f39e-be01-17bd-77ae8dd5510d@2ndquadrant.com> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox