Re: How do people do schema upgrades?

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: How do people do schema upgrades?
Дата
Msg-id 20030217165658.Z22104@mail.libertyrms.com
обсуждение исходный текст
Ответ на How do people do schema upgrades?  (Steinar Bang <sb@dod.no>)
Ответы Re: How do people do schema upgrades?
Список pgsql-general
On Mon, Feb 17, 2003 at 10:12:21PM +0100, Steinar Bang wrote:
>
> The problem is how to create the "patch files".  Is there a way to
> calculate the differences between the schemas of two databases, and
> create a set of SQL commands to transform one into the other?

There's a pg_diff utility on the web somewhere.  It requires quite a
piece of infrastructure to make it work, though.

My own suggestion is CVS logs, but that assumes you are tracking the
changes made to the database.

A

--
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110


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

Предыдущее
От: Patrick Nelson
Дата:
Сообщение: Re: RE in where
Следующее
От: Christopher Murtagh
Дата:
Сообщение: pg_dump --> restore loses constraints/triggers?