Re: Database Comparison tool?

From: Philippe Ferreira <phil(dot)f(at)worldonline(dot)fr>
To: Nicholas Walker <nick(at)howsmymusic(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Database Comparison tool?
Date: 2006-02-09 20:03:06
Message-ID: 43EB9FFA.9010704@worldonline.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> Are there any tools that can compare a database schema, and produce
> sql of the changes from one version to the next.
>
> We have a development server, and it would be great to be able to just
> run a tool, where we could produce the changes, review it, and then
> commit to production.

Hi,

Do a "pgdump" of both databases, and use the "diff" tool to compare the
two generated files !

(But I hope your databases are not too big...)

Philippe Ferreira.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-02-09 20:12:02 Re: [GENERAL] Sequences/defaults and pg_dump
Previous Message Bruce Momjian 2006-02-09 19:59:45 Re: [GENERAL] Sequences/defaults and pg_dump