How to check PostgreSQL database integrity?

Is there a way to check PostgreSQL database(s) integrity and consistency? I know about SQL Server DBCC CHECKDB and wonder if there is something similar to PostgreSQL.


Solution 1:

In 12 version of pgsql, there is pg_checksums.