How to check if databases are consistent in pgsql replication?
You could try pg_comparator.
Also older version of pt-table-checksum (or mk-table-checksum) could compare pg data - but I wouldn't recommend these old versions.