Schema Upgrade Howto

Поиск
Список
Период
Сортировка
От Thomas Guettler
Тема Schema Upgrade Howto
Дата
Msg-id 49098466.6000405@tbz-pariv.de
обсуждение исходный текст
Ответы Re: Schema Upgrade Howto  (David Fetter <david@fetter.org>)
Re: Schema Upgrade Howto  (Berend Tober <btober@ct.metrocast.net>)
Список 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


В списке pgsql-general по дате отправления:

Предыдущее
От: "Thom Brown"
Дата:
Сообщение: Re: Can't restart Postgres
Следующее
От: Thomas
Дата:
Сообщение: Re: Can't restart Postgres