Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group