Re: Postgres schema comparison.

From: Matteo Beccati <php(at)beccati(dot)com>
To: Stef <svb(at)ucs(dot)co(dot)za>
Cc: pgsql-ADMIN(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: Postgres schema comparison.
Date: 2005-03-08 08:59:20
Message-ID: 422D6968.4070000@beccati.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-sql

Hi,

> I have the wonderful job of re-synch'ing all the schemas out there not
> conforming to the master. I've looked everywhere for something that
> will help doing this. I'm specifically looking for a way to do a sumcheck
> or something similar on tables and/or schema as a whole to be able to
> do a table comparison with the master database.
>
> 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.

I've made a simple PHP script which compares the schemas of two
databases. It was made in a hurry and is far from being complete, but it
works for my purposes :)

If you want give it a try, let me know

Best regards
--
Matteo Beccati
http://phpadsnew.com
http://phppgads.com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Milen A. Radev 2005-03-08 11:36:31 Too frequent warnings for wraparound failure
Previous Message Stef 2005-03-08 08:00:00 Re: [SQL] Postgres schema comparison.

Browse pgsql-sql by date

  From Date Subject
Next Message Larry Rosenman 2005-03-08 11:48:16 Query issue/8.0.1/Serendipity
Previous Message Sim Zacks 2005-03-08 08:09:24 Re: group by before and after date