Re: create or replace view

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB SD
Тема Re: create or replace view
Дата
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA4961EF5@m0114.s-mxs.net
обсуждение исходный текст
Ответ на create or replace view  (snpe <snpe@snpe.co.yu>)
Ответы Re: create or replace view  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-hackers
> Problem is when I want change view (or functions) with a lot of dependecies
> I must drop and recreate all dependent views (or functions) -
> I want add only one column in view
> I don't know if solution hard for that.

I do not see how adding a column to a view would invalidate
dependent objects. (Except an object that uses "select *", in which case
the writer of the object explicitly states that he can cope with changing
column count and order).

Thus I think "create or replace" should work in this case regardless of
what definition for "create or replace" finds a consensus, no ?

Andreas


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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Time to move on...
Следующее
От: "Nigel J. Andrews"
Дата:
Сообщение: Re: Debian build prob