Re: best practice in upgrading db structure

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: best practice in upgrading db structure
Дата
Msg-id 20060328221109.GC75181@pervasive.com
обсуждение исходный текст
Ответ на best practice in upgrading db structure  (SunWuKung <Balazs.Klein@axelero.hu>)
Список pgsql-general
On Tue, Mar 28, 2006 at 09:28:12PM +0200, SunWuKung wrote:
> This is going to be an amateur question...
>
> Could somebody explain me, or point me to a resource where I can find
> out what is the recommended practice when a live db needs to be replaced
> with a new version of it that has a slightly different structure?
>
> My first guess would be to create the empty new version of the db and
> insert the data of the old one into it - adding and modifying it when
> necessary, but I am not sure.
>
> What do you usually do in a situation like this?

ALTER TABLE ...
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL support on Redhat Advance Server 2.1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Auto convert for type?