This tool provides a network and time efficient PostgreSQL table content comparison. It may work with other database as well. It is free, open-source and distributed under the BSD License.
The comparison requires installing some extensions (hash functions, casts, aggregates) and creating temporary tables, so it does not work with read-only replicas.
See html-ized documentation for version 2.2.6 for details.