pg_verify_checksums
pg_verify_checksums — verify data checksums in a Postgres Pro database cluster
Synopsis
pg_verify_checksums [option...] [[ -D | --pgdata ] datadir]
Description
pg_verify_checksums verifies data checksums in a Postgres Pro cluster. The server must be shut down cleanly before running pg_verify_checksums. The exit status is zero if there are no checksum errors, otherwise nonzero.
Options
The following command-line options are available:
-Ddirectory--pgdata=directorySpecifies the directory where the database cluster is stored.
-v--verboseEnable verbose output. Lists all checked files.
-rrelfilenodeOnly validate checksums in the relation with specified relfilenode.
-V--versionPrint the pg_verify_checksums version and exit.
-?--helpShow help about pg_verify_checksums command line arguments, and exit.
Environment
PGDATASpecifies the directory where the database cluster is stored; can be overridden using the
-Doption.

