Re: recommended schema diff tools?

From: raghu ram <raghuchennuru(at)gmail(dot)com>
To: Thomas Kellerer <spam_eater(at)gmx(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: recommended schema diff tools?
Date: 2012-04-13 05:03:22
Message-ID: CALnrrJREznSPsDPb_fWsU23MLCZBTBLi7TW=htyjqrr1fLfdaQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Apr 12, 2012 at 9:35 PM, Thomas Kellerer <spam_eater(at)gmx(dot)net> wrote:

> Welty, Richard wrote on 12.04.2012 16:57:
>
> can anyone recommend an open source tool for diffing schemas?
>>
>> (it should go without saying that i'm looking for ddl to update
>> production and QA DBs from development DBs, but i'll say it, just in
>> case.)
>>
>
Take the dumps of two schemas in plain format like this:

pg_dump.exe -Fp -U edb -s -n schema1 edb > db.out

pg_dump.exe -Fp -U edb -s -n schema2 edb > db1.out

Now you can use a tool like *Kompare [
http://www.kde.org/applications/development/kompare/]* to get a diffbetween two
schema files and see where there is a change in the schema.
--

Thanks & Regards,

Raghu Ram

EnterpriseDB: http://www.enterprisedb.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Damian Carey 2012-04-13 05:15:16 Re: recommended schema diff tools?
Previous Message raghu ram 2012-04-13 04:38:28 Re: Re: Hot Standby - ERROR: canceling statement due to conflict with recovery