Re: maintaining nested views

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: maintaining nested views
Дата
Msg-id 7083.1255355829@sss.pgh.pa.us
обсуждение исходный текст
Ответ на maintaining nested views  (Maximilian Tyrtania <maximilian.tyrtania@byte-employer.de>)
Список pgsql-sql
Maximilian Tyrtania <maximilian.tyrtania@byte-employer.de> writes:
> Quite often i find myself reluctant to nest views, because of the
> maintenance issues this usually involves. As you know, you can't easily
> alter the "lower level" views, because the higher level ones depend on them.
> So, to add a field to a lower level view one has to:

> drop view vw_lowlevel CASCADE;

As of 8.4 you can add a column via CREATE OR REPLACE VIEW without that.
        regards, tom lane


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

Предыдущее
От: Maximilian Tyrtania
Дата:
Сообщение: maintaining nested views
Следующее
От: Shruthi A
Дата:
Сообщение: How to get the previous date?