On 26/07/2018 13:59, Michael Banck wrote: > I've now forward-ported this change to pg_verify_checksums, in order to > make this application useful for online clusters, see attached patch.
Why not provide this functionality as a server function or command. Then you can access blocks with proper locks and don't have to do this rather ad hoc retry logic on concurrent access. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services