Schema Upgrade Howto

From: Thomas Guettler <hv(at)tbz-pariv(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Schema Upgrade Howto
Date: 2008-10-30 09:54:46
Message-ID: 49098466.6000405@tbz-pariv.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

is there a schema upgrade howto? I could not find much with google.

There is a running DB and a development DB. The development DB
has some tables, columns and indexes added. What is the preferred way
to upgrade?

I see these solutions:
- pg_dump production DB. Install schema only from dev DB, restore data
only from dump.
- Use alter table.
- Use a tool like apgdiff (never tried it).

I guess all ways will be possible. But what do you suggest?

Thomas

--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas 2008-10-30 10:42:47 Re: Can't restart Postgres
Previous Message Thom Brown 2008-10-30 08:24:55 Re: Can't restart Postgres