Re: ERROR: cannot change name of view column

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: ERROR: cannot change name of view column
Дата
Msg-id CAKFQuwZo8hdW8E=Vow0qw_qe+gcRKo+Zn3ecXrCxAnHkYAA_LQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: ERROR: cannot change name of view column  (Réal A. Carbonneau <contact@realcarbonneau.com>)
Ответы Re: ERROR: cannot change name of view column
Список pgsql-bugs
On Tuesday, January 1, 2019, Réal A. Carbonneau <contact@realcarbonneau.com> wrote:
Since CREATE ... OR REPLACE  is literally: "if exists, drop and create, else, create",

It’s specifically saying “replace the query used for the view without changing the view signature/type”.  Same goes for create or replace function.  The point being the signature is public and cannot be changed on the fly but the implementation can be replaced.

David J.

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

Предыдущее
От: Réal A. Carbonneau
Дата:
Сообщение: Re: ERROR: cannot change name of view column
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ERROR: cannot change name of view column