Re: [ADMIN] Schema comparisons

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: "Alex J(dot) Avriette" <alex(at)posixnap(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Mark Lubratt <mark(dot)lubratt(at)indeq(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [ADMIN] Schema comparisons
Date: 2004-03-03 03:44:40
Message-ID: 404554A8.10905@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

> I recently had to figure out what was different between the "live" schema
> and the schema in cvs at work. This was a really painful process, and it
> occurred to me that it wouldn't be terribly hard to write a perl program
> to do it (I wound up using vim and diff). Is there interest in such a tool?
> I could probably have one written within a day or two.

Someone wrote a utility called 'pgdiff' that generated the SQL commands
necessary to transform on db in to another IIRC.

Chris

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2004-03-03 05:16:57 Re: un-CLUSTER?
Previous Message Ivan Dario Salazar 2004-03-03 00:04:25 Postgresql functions

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-03-03 03:52:49 Re: Tablespaces
Previous Message Tom Lane 2004-03-03 03:40:51 Re: IN and ANY