macOS / binaries /

pg_amcheck

/usr/local/bin/pg_amcheck
Checks for corruption in one or more PostgreSQL databases

pg_amcheck supports running amcheck's corruption checking functions against one or more databases, with options to select which schemas, tables and indexes to check, which kinds of checking to perform, and whether to perform the checks in parallel, and if so, the number of parallel connections to establish and use.