From 81ff6d1564dec5a98693eb1d008b1444d7da84d1 Mon Sep 17 00:00:00 2001 From: Alessandro Date: Thu, 16 Oct 2025 17:47:48 +0200 Subject: [PATCH] pg_amcheck: add page --- pages/common/pg_amcheck.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/pg_amcheck.md diff --git a/pages/common/pg_amcheck.md b/pages/common/pg_amcheck.md new file mode 100644 index 00000000000000..424cbdf14848ad --- /dev/null +++ b/pages/common/pg_amcheck.md @@ -0,0 +1,28 @@ +# pg_amcheck + +> Check for corruption in one or more PostgreSQL databases. +> More information: . + +- Check a specific database: + +`pg_amcheck {{dbname}}` + +- Check all databases: + +`pg_amcheck {{[-a|--all]}}` + +- Check databases matching the specified pattern: + +`pg_amcheck {{[-d|--database]}} {{pattern}}` + +- Check specific tables within a database: + +`pg_amcheck {{[-t|--table]}} {{pattern}} {{dbname}}` + +- Check specific schemas within a database: + +`pg_amcheck {{[-s|--schema]}} {{pattern}} {{dbname}}` + +- Display help: + +`pg_amcheck {{[-?|--help]}}`