Re: Database Comparison tool?

From: Rick Gigger <rick(at)alpinenetworking(dot)com>
To: Philippe Ferreira <phil(dot)f(at)worldonline(dot)fr>
Cc: Nicholas Walker <nick(at)howsmymusic(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Database Comparison tool?
Date: 2006-02-10 07:08:40
Message-ID: 6D413A16-2D5B-4143-844D-88B07834E5F3@alpinenetworking.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Roger Hand 2006-02-10 07:27:19 Re: Database Comparison tool?
Previous Message Bruno Wolff III 2006-02-10 06:28:00 Re: Sequences/defaults and pg_dump