Re: Alter View foo?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Alter View foo?
Дата
Msg-id 25424.1142574015@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Alter View foo?  (Richard Broersma Jr <rabroersma@yahoo.com>)
Список pgsql-novice
Richard Broersma Jr <rabroersma@yahoo.com> writes:
> Is there a way to alter the definition of a view without dropping and
> recreating it?

You can replace a view with a different computation of the same output
columns, but you can't change the set of output columns.  I'm not sure
why we still enforce that, given that regular tables can be changed more
flexibly ...

            regards, tom lane

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

Предыдущее
От: Richard Broersma Jr
Дата:
Сообщение: Alter View foo?
Следующее
От: chelsea boot
Дата:
Сообщение: Re: Find and Replace All