Thread: Amcheck extension query for tables (verify_heapam)
Hi
PostgreSQL 14 has the built in function for amcheck extension called "verify_heapam".
I was wondering, is there similar query for that function as well like there is for "bt_index_check" function..?
I do not see that here:
I would like to monitor both (tables and indexes) for corruption checks.
Regards
Raul Kaubi
SELECT verify_heapam('mytable')
Raul Kaubi wrote on 5/30/2022 4:00 AM:
HiPostgreSQL 14 has the built in function for amcheck extension called "verify_heapam".I was wondering, is there similar query for that function as well like there is for "bt_index_check" function..?I do not see that here:I would like to monitor both (tables and indexes) for corruption checks.RegardsRaul Kaubi
Regards,
Michael Vitale
703-600-9343

Attachment
On Mon, May 30, 2022 at 1:00 AM Raul Kaubi <raulkaubi@gmail.com> wrote: > PostgreSQL 14 has the built in function for amcheck extension called "verify_heapam". > I was wondering, is there similar query for that function as well like there is for "bt_index_check" function..? You should probably just use the higher level pg_amcheck utility, which runs everything from amcheck including verify_heapam() under the hood. -- Peter Geoghegan