1PG_VERIFY_CHECKSUMS(1) PostgreSQL 11.6 Documentation PG_VERIFY_CHECKSUMS(1)
2
3
4
6 pg_verify_checksums - verify data checksums in a PostgreSQL database
7 cluster
8
10 pg_verify_checksums [option...] [[-D | --pgdata] datadir]
11
13 pg_verify_checksums verifies data checksums in a PostgreSQL cluster.
14 The server must be shut down cleanly before running
15 pg_verify_checksums. The exit status is zero if there are no checksum
16 errors, otherwise nonzero.
17
19 The following command-line options are available:
20
21 -D directory
22 --pgdata=directory
23 Specifies the directory where the database cluster is stored.
24
25 -v
26 --verbose
27 Enable verbose output. Lists all checked files.
28
29 -r relfilenode
30 Only validate checksums in the relation with specified relfilenode.
31
32 -V
33 --version
34 Print the pg_verify_checksums version and exit.
35
36 -?
37 --help
38 Show help about pg_verify_checksums command line arguments, and
39 exit.
40
42 PGDATA
43 Specifies the directory where the database cluster is stored; can
44 be overridden using the -D option.
45
46
47
48PostgreSQL 11.6 2019 PG_VERIFY_CHECKSUMS(1)