Comparing Two PostgreSQL databases

After an infrastructure migration we had to figure out whether data was lost during that process. We wanted to ensure the new PostgreSQL database had exactly the same data as before. This blog post describes how those checks were made.