pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Chris Hoover <revoohc@sermonaudio.com>
To: Rosser Schwarz <rosser.schwarz@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Any tools to compare db's
Date: Mon, 20 Dec 2004 19:02:44 -0500
Message-ID: <41C76824.1030904@sermonaudio.com> (raw)
In-Reply-To: <37d451f70412200944b09c7d4@mail.gmail.com>
References: <MAILSERVERoFLaqSOc700000355@mail.astudios.com>
<37d451f70412200944b09c7d4@mail.gmail.com>
That really does not work. It will tell you line by line differences,
but not what object it is. Also, it does not help to generate the sql
to sync the db's.
Chris
Rosser Schwarz wrote:
>while you weren't looking, Chris Hoover wrote:
>
>
>>Does anyone know of any good tools that will compare 2 db's and generate a complete listing of any object differences?
>>
>>
>
>Perhaps something like:
>
>$ pg_dump --schema-only db1 > db1.sql
>$ pg_dump --schema-only db2 > db2.sql
>$ diff db1.sql db2.sql
>
>would accomplish what you're after? It does specifically list GRANTs,
>among other things.
>
>/rls
>
>
>
view thread (7+ messages) latest in thread
Message-ID: <41C76824.1030904@sermonaudio.com> Permalink: ../41C76824.1030904@sermonaudio.com/ Also on: postgresql.org/message-id/41C76824.1030904@sermonaudio.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: revoohc@sermonaudio.com, rosser.schwarz@gmail.com Subject: Re: Any tools to compare db's In-Reply-To: <41C76824.1030904@sermonaudio.com> References: <MAILSERVERoFLaqSOc700000355@mail.astudios.com> <37d451f70412200944b09c7d4@mail.gmail.com> <41C76824.1030904@sermonaudio.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