Table modifications with dependent views - best practices?

Поиск
Список
Период
Сортировка
От John Browne
Тема Table modifications with dependent views - best practices?
Дата
Msg-id ccc606105042119246d6602e6@mail.gmail.com
обсуждение исходный текст
Ответы Re: Table modifications with dependent views - best practices?  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
Ok, I've been using postgres for a-while now, and am curious how you
guys handle this.  What is the best way to make modifications to
tables that have lots of dependent objects, like views?  Do you just
do the obvious drop...cascade and manually re-create your views? Do
you keep your "create view" statements in a text file for this purpose
or just pull them from a pg_dump file?  Is there a better way to
handle this sort of thing?

I know on a properly designed database, changes to the schema are
usually not necessary.  However, during development, database tweaks
(at least for me) are pretty common.

Any thoughts?

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Record as a parameter to a function
Следующее
От: Carlos Correia
Дата:
Сообщение: Re: Record as a parameter to a function