Re: rename of a view

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: rename of a view
Дата
Msg-id 1183044433.6694.0.camel@goldbach
обсуждение исходный текст
Ответ на rename of a view  (Susanne Ebrecht <miracee@miracee.de>)
Ответы Re: rename of a view
Список pgsql-docs
On Thu, 2007-28-06 at 13:31 +0200, Susanne Ebrecht wrote:
> Than I just tried: alter table pgview rename to  bettername;
>
> that works, but there is no hint at the documentation, that you can
> rename a view via alter table.

From the ALTER TABLE reference page: "The RENAME forms change the name
of a table (or an index, sequence, or view) or the name of an individual
column in a table."

Of course, it could be made more obvious...

-Neil



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: rename of a view
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: proposed FAQ entry