Re: How to compare the schemas ?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Milorad Poluga <milorad(dot)poluga(at)cores(dot)co(dot)yu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: How to compare the schemas ?
Date: 2005-06-28 09:20:04
Message-ID: 200506281120.05150.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Milorad Poluga wrote:
> One (certainly not the best options) is to do something like this:
>
> pg_dump ... DB1  > PG_SCHEMA1
> pg_dump ... DB2  > PG_SCHEMA2
> diff  PG_SCHEMA1  PG_SCHEMA2  > differences.txt

What is wrong with that?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message KÖPFERL Robert 2005-06-28 11:55:21 Direct I/O versus OS-Caching
Previous Message KÖPFERL Robert 2005-06-28 08:24:58 Re: How to compare the schemas ?