From: Joerg Hessdoerfer <Joerg.Hessdoerfer@sea-gmbh.com>
To: pgsql-sql@postgresql.org
Subject: Auto-update script from dumps?
Date: Thu, 26 Aug 2004 15:06:53 +0200
Message-ID: <200408261506.53524.Joerg.Hessdoerfer@sea-gmbh.com> (raw)
In-Reply-To: <20040826120504.58934.qmail@web13925.mail.yahoo.com>
References: <20040826120504.58934.qmail@web13925.mail.yahoo.com>
Hi!
What I'm looking for is something that handles DB schema upgrades. We're
building applications which require upgrades to the DB schema over time, so
when we upgrade our apps we need to modify the DB. For this, we're using SQL
scripts, which basically do incremental updates, e.g. from 1.2 to 1.3. So
when we upgrade FooBar Version 2.3, which uses DB schema 1.3 to Version 3.9,
which uses DB schema 1.9 we would run 6 scripts, and voila, we would have a
1.9 schema.
OK, sounds simple. But it's sometimes a lot of work to build the update
script, and easy to miss something. So I was just thinking whether there's a
tool or script out there that builds an update script from two different
schema dumps. Does anyone out there know of such a beast?
Greetings,
Jörg
--
Leading SW developer - S.E.A GmbH
Mail: joerg.hessdoerfer@sea-gmbh.com
WWW: http://www.sea-gmbh.com
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-sql@postgresql.org
Cc: Joerg.Hessdoerfer@sea-gmbh.com
Subject: Re: Auto-update script from dumps?
In-Reply-To: <200408261506.53524.Joerg.Hessdoerfer@sea-gmbh.com>
References: <20040826120504.58934.qmail@web13925.mail.yahoo.com> <200408261506.53524.Joerg.Hessdoerfer@sea-gmbh.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