Re: Database Comparison tool? - Mailing list pgsql-general

From Philippe Ferreira
Subject Re: Database Comparison tool?
Date
Msg-id 43EB9FFA.9010704@worldonline.fr
Whole thread Raw
In response to Database Comparison tool?  (Nicholas Walker <nick@howsmymusic.com>)
Responses Re: Database Comparison tool?  (Rick Gigger <rick@alpinenetworking.com>)
List 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.

pgsql-general by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: Sequences/defaults and pg_dump
Next
From: Rick Gigger
Date:
Subject: Re: Database Comparison tool?