Error message from server: ERROR: invalid page header in block of relation base

PostgreSQL provides a hidden parameter zero_ damaged_ Pages. When this parameter is true, all pages with damaged data will be ignored.

database$> SET zero_damaged_pages = on;
database$> VACUUM FULL damaged_table;
database$> REINDEX TABLE damaged_table;


Read More: