Re: [SQL] Postgres schema comparison. - Mailing list pgsql-admin

From Markus Schaber
Subject Re: [SQL] Postgres schema comparison.
Date
Msg-id 422C42B7.1030509@logix-tt.com
Whole thread Raw
In response to Postgres schema comparison.  (Stef <svb@ucs.co.za>)
Responses Re: [SQL] Postgres schema comparison.  (Stef <svb@ucs.co.za>)
List pgsql-admin
Hi, Stef,

Stef schrieb:

> It will be a bonus to pick up exactly what is missing, but for now, just identifying
> differences is what I want to achieve. I'm using postgres 7.3 mostly, but
> I may want to use this for 7.4 and 8.0 databases as well.
>
> Has anybody got some suggestions of what I can do or use to do this.

There are (at least) two independently developed pgdiff applications,
they can be found at:

http://pgdiff.sourceforge.net/

http://gborg.postgresql.org/project/pgdiff/projdisplay.php

I did not try the first one, but the latter one worked on some of my
datas, but fails on others. I filed a bug report some time ago, but got
no answer, so I'm afraid this tool currently is unmaintained:
http://gborg.postgresql.org/project/pgdiff/bugs/bugupdate.php?895

But maybe a pg_dump --schema-only on all the databases, and then
manually diffing the files may already fulfil your needs.


Markus

--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org

pgsql-admin by date:

Previous
From: Radtchenko Igor
Date:
Subject: Re: Build from file syntax troublem (part II).
Next
From: John DeSoi
Date:
Subject: Re: Postgres schema comparison.