Options (5)
-a, --allbooleanCheck all databases
Example:
pg_amcheck {{[-a|--all]}}-d, --databasebooleanCheck databases matching the specified pattern
Example:
pg_amcheck {{[-d|--database]}} {{pattern}}-t, --tablebooleanCheck specific tables within a database
Example:
pg_amcheck {{[-t|--table]}} {{pattern}} {{dbname}}-s, --schemabooleanCheck specific schemas within a database
Example:
pg_amcheck {{[-s|--schema]}} {{pattern}} {{dbname}}--helpbooleanDisplay help
Example:
pg_amcheck {{[-?|--help]}}Examples (6)
Check a specific database
pg_amcheck dbnameCheck all databases
pg_amcheck [-a|--all]Check databases matching the specified pattern
pg_amcheck [-d|--database] patternCheck specific tables within a database
pg_amcheck [-t|--table] pattern dbnameCheck specific schemas within a database
pg_amcheck [-s|--schema] pattern dbnameDisplay help
pg_amcheck [-?|--help]made by @shridhargupta | data from tldr-pages