pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Alex J. Avriette <alex@posixnap.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Mark Lubratt <mark.lubratt@indeq.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [ADMIN] Schema comparisons
Date: Wed, 03 Mar 2004 11:44:40 +0800
Message-ID: <404554A8.10905@familyhealth.com.au> (raw)
In-Reply-To: <20040229022348.GL8646@posixnap.net>
References: <C4BBB0BE-699E-11D8-ACD3-000A9579AF50@indeq.com>
	<25377.1077942505@sss.pgh.pa.us>
	<4F7D4521-69BC-11D8-ACD3-000A9579AF50@indeq.com>
	<27965.1077982780@sss.pgh.pa.us>
	<20040229022348.GL8646@posixnap.net>

> 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




view thread (12+ messages)  latest in thread

Message-ID: <404554A8.10905@familyhealth.com.au>
Permalink:  ../404554A8.10905@familyhealth.com.au/
Also on:    postgresql.org/message-id/404554A8.10905@familyhealth.com.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: chriskl@familyhealth.com.au, alex@posixnap.net, tgl@sss.pgh.pa.us, mark.lubratt@indeq.com, pgsql-hackers@postgresql.org
  Subject: Re: [ADMIN] Schema comparisons
  In-Reply-To: <404554A8.10905@familyhealth.com.au>
  References: <C4BBB0BE-699E-11D8-ACD3-000A9579AF50@indeq.com> <25377.1077942505@sss.pgh.pa.us> <4F7D4521-69BC-11D8-ACD3-000A9579AF50@indeq.com> <27965.1077982780@sss.pgh.pa.us> <20040229022348.GL8646@posixnap.net> <404554A8.10905@familyhealth.com.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox