Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-general

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 Guettler,
E-Mail: guettli (*) thomas-guettler + de


pgsql-general by date

Next:From: ThomasDate: 2008-10-30 10:42:47
Subject: Re: Can't restart Postgres
Previous:From: Thom BrownDate: 2008-10-30 08:24:55
Subject: Re: Can't restart Postgres

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group