RefLib

Reference library for AI

Back

postgresql_16:7.3.3.2 Options

PostgreSQL 16 > Reference > PostgreSQL Server Applications > pg_checksums > Options

The following command-line options are available: -D *directory* --pgdata=*directory* Specifies the directory where the database cluster is stored. -c --check Checks checksums. This is the default mode if nothing else is specified. -d --disable Disables checksums. -e --enable Enables checksums. -f *filenode* --filenode=*filenode* Only validate checksums in the relation with filenode *filenode*. -N --no-sync By default, pg_checksums will wait for all files to be written safely to disk. This option causes pg_checksums to return without waiting, which is faster, but means that a subsequent operating system crash can leave the updated data directory corrupt. Generally, this option is useful for testing but should not be used on a production installation. This option has no effect when using --check. -P --progress Enable progress reporting. Turning this on will deliver a progress report while checking or enabling checksums. -v --verbose Enable verbose output. Lists all checked files. -V --version Print the pg_checksums version and exit. -? --help Show help about pg_checksums command line arguments, and exit.

Back