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

From Rick Gigger
Subject Re: Database Comparison tool?
Date
Msg-id 6D413A16-2D5B-4143-844D-88B07834E5F3@alpinenetworking.com
Whole thread Raw
In response to Re: Database Comparison tool?  (Philippe Ferreira <phil.f@worldonline.fr>)
Responses Re: Database Comparison tool?
List pgsql-general
Is the ordering guaranteed to be the same on both boxes if you do this?

Rick

On Feb 9, 2006, at 1:03 PM, Philippe Ferreira wrote:

>
>> 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.
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>       choose an index scan if your joining column's datatypes do not
>       match
>


pgsql-general by date:

Previous
From: Philippe Ferreira
Date:
Subject: Re: Database Comparison tool?
Next
From: "Roger Hand"
Date:
Subject: Re: Database Comparison tool?