How can I compare sql create script with running database?

From: Bjørn T Johansen <btj(at)havleik(dot)no>
To: "PostgreSQL general" <pgsql-general(at)postgresql(dot)org>
Subject: How can I compare sql create script with running database?
Date: 2008-06-05 09:52:26
Message-ID: 20080605115226.4b6a0be7@btj-laptop.asp-as.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

If I already have a running database, how can I compare the tables in the database with the sql script to discover the differences?

Regards,

BTJ

--
-----------------------------------------------------------------------------------------------
Bjørn T Johansen

btj(at)havleik(dot)no
-----------------------------------------------------------------------------------------------
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
-----------------------------------------------------------------------------------------------

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2008-06-05 10:06:36 Re: How can I compare sql create script with running database?
Previous Message Craig Ringer 2008-06-05 09:15:09 Re: Tripping up on my first attempt at building PG from source