On Mon, Apr 20, 2020 at 10:59 AM Mark Dilger
<mark(dot)dilger(at)enterprisedb(dot)com> wrote:
> The attached module provides the means to scan a relation and sanity check it. Currently, it checks xmin and xmax values against relfrozenxid and relminmxid, and also validates TOAST pointers. If people like this, it could be expanded to perform additional checks.
Cool. Why not make it part of contrib/amcheck?
We talked about the kinds of checks that we'd like to have for a tool
like this before:
https://postgr.es/m/20161017014605.GA1220186@tornado.leadboat.com
--
Peter Geoghegan