On Wed, Aug 17, 2016 at 4:58 AM, gilad905 <gilad905@xxxxxxxxx> wrote: > Vik, note that your new suggestion for a query might be more > readable/efficient than Jeff's, but IT STILL DOESN'T SOLVE THE PROBLEM OF > DETECTING DUPLICATE ROWS. > I've done this in the past and in my use-case it was easy enough to export the rows to CSV with a sort, and then use a diff tool to ensure they're identical. My data had 100's of thousands of rows, but obviously with massive tables this may not be appropriate. If you want more details on this I can find the exact psql client query form I used to get a CSV file of the results. Hope that helps. Branden > > > -- > View this message in context: http://postgresql.nabble.com/Easiest-way-to-compare-the-results-of-two-queries-row-by-row-and-column-by-column-tp5760209p5916761.html > Sent from the PostgreSQL - general mailing list archive at Nabble.com. > > > -- > Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general