Re: Incremental Dump

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Herbie McDuck" <herbie(at)faams(dot)net>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Incremental Dump
Date: 2003-06-26 13:52:44
Message-ID: 23915.1056635564@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Herbie McDuck" <herbie(at)faams(dot)net> writes:
> Is there a proceedure to allow one to compare the database structure of a
> deployed database against a developmenmt database to note any structural
> change in one or more tables?

I'd try pg_dump -s (schema only) and diff the two dumps. You might have
to do some fooling around if objects were created in different orders in
the two databases, though, since that would affect the dump order.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Nabil Sayegh 2003-06-26 14:05:29 Re: Incremental Dump
Previous Message Herbie McDuck 2003-06-26 12:57:03 Incremental Dump