vacuumdb -h new_host -U postgres -a -Z
psql -h old_host -U postgres -d old_db -c "SELECT relname, n_live_tup FROM pg_stat_user_tables ORDER BY relname;" > old_counts.txt
psql -h new_host -U postgres -d new_db -c "SELECT relname, n_live_tup FROM pg_stat_user_tables ORDER BY relname;" > new_counts.txt
diff oldcounts.txt newcounts.txt