Jan 21

A simple command line tool written in Python to display basic table differences between two PostgreSQL databases. This tool is different from pgdiff, in that it is not web based and can be run from the command line. It can be useful for comparing and tracking down differences between production and development databases.

Download
pg_diff

5 Responses to “PostgreSQL Diff Tool”

  1. bob Says:

    eNkAZE hi great site thx http://peace.com

  2. Celebrity Says:

    very cool.

  3. SMS Alerts Says:

    Very nice! Thanks for the share, i’ll be sure to put the information into use. Keep the good blog posts coming!

  4. Digital books Says:

    I was searching for command tool like this ..!!
    Thanx

  5. Pierre Chevalier Says:

    Hello,

    Nice utility. But I’m looking for something else:
    “It does NOT compare the data in the tables.”

    Well, this is what I’m looking for.
    For the moment, I use psql ascii output and diff, but the tables I’m dealing with are *very* wide, which makes the output quite unreadable. Only gvimdiff or tkdiff can display something interesting, but still, this is far to be ideal.

    Do you know of any tool/script that would perform a diff on two tables contents, highlighting the different records / fields?

    Regards.
    A+
    Pierre

Leave a Reply