pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: adwolf1@yahoo.com
To: pgsql-admin@postgresql.org
Subject: mysqldiff-like utility for PG?
Date: 15 Aug 2002 19:43:19 -0700
Message-ID: <5580cd6f.0208151843.52ff6467@posting.google.com> (raw)

Is there any utility like mysqldiff
(http://adamspiers.org/computing/mysqldiff/) for PG?

"mysqldiff is a Perl script which compares the data structures (i.e.
table definitions) of two MySQL databases, and returns the differences
as a sequence of MySQL commands suitable for piping into mysql which
will transform the structure of the first database to be identical to
that of the second (c.f. diff and patch). Database structures can be
compared whether they are files containing table definitions or
existing databases, local or remote. "


It would make our lives 1000x easier if such a tool existed. As it
stands now, the process of updating the DB involves manually writing a
series of alter statements, which is a huge pain.  I can't be the only
one with this problem!

Any and all help is appreciated.  Thanks.



view thread (6+ messages)  latest in thread

Message-ID: <5580cd6f.0208151843.52ff6467@posting.google.com>
Permalink:  ../5580cd6f.0208151843.52ff6467@posting.google.com/
Also on:    postgresql.org/message-id/5580cd6f.0208151843.52ff6467@posting.google.com

 · 

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: adwolf1@yahoo.com
  Subject: Re: mysqldiff-like utility for PG?
  In-Reply-To: <5580cd6f.0208151843.52ff6467@posting.google.com>
  References: <5580cd6f.0208151843.52ff6467@posting.google.com>

* 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