Re: reporting TID/table with corruption error

x4mmm@yandex-team.ru

From: Andrey Borodin <x4mmm@yandex-team.ru>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>, Pg Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-08-19T17:17:41Z
Lists: pgsql-hackers

> 19 авг. 2021 г., в 21:44, Peter Geoghegan <pg@bowt.ie> написал(а):
> 
> I think that this is a very good idea. Ideally this stuff would be
> more standardized.

+1
It would be great to see relation, block, offset, xmin\xmax and, probably, flags whenever ERRCODE_DATA_CORRUPTED\ERRCODE_INDEX_CORRUPTED is used. Iif it's possible to extract this information, of cause. This is needed especially in amcheck functions.

Best regards, Andrey Borodin.


Commits

  1. Report tuple address in data-corruption error message