Re: Comparing databases

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Sugrue, Sean" <Sean(dot)Sugrue(at)analog(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Comparing databases
Date: 2006-01-11 20:34:39
Message-ID: 27885.1137011679@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Sugrue, Sean" <Sean(dot)Sugrue(at)analog(dot)com> writes:
> Does anyone know how to structurally compare a list of tables
> between two different databases without going
> through them one by one?

You might try "pg_dump -s" on both databases and diff the output.
Not a perfect tool but it will serve for minor differences.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Steve Tucknott 2006-01-11 20:55:08 Open Office2
Previous Message Sugrue, Sean 2006-01-11 20:30:05 Comparing databases