manage changes to views having depencies

Поиск
Список
Период
Сортировка
От Eric Worden
Тема manage changes to views having depencies
Дата
Msg-id 569f05d30812312057r4a8ae31eq63250ff2a8f42664@mail.gmail.com
обсуждение исходный текст
Ответы Re: manage changes to views having depencies
Re: manage changes to views having depencies
Список pgsql-general
Can anyone recommend a reasonably efficient system for changing a view
definition (say by adding a column) when it has a bunch of dependent
functions?

Right now I work with the output from pg_dump to recreate things after
doing "DROP VIEW ... CASCADE".  But the pg_dump schema output is only
approximately sorted by dependencies, and "create table..." is
sprinkled all through it.  That means I have to carefully comb through
and select the pieces I need.

Is there a way to just script the view definitions, then the
functions?  Or maybe I'm looking at it the wrong way?

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