Re: ALTER TYPE RENAME

Поиск
Список
Период
Сортировка
От Petr Jelinek
Тема Re: ALTER TYPE RENAME
Дата
Msg-id 46FEDFCD.1030207@pjmodos.net
обсуждение исходный текст
Ответ на Re: ALTER TYPE RENAME  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: ALTER TYPE RENAME  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> BTW, another issue this brings up is whether we should reject
>
> regression=# create type footyp as (f2 int);
> CREATE TYPE
> regression=# alter table footyp rename to foobar;
> ALTER TABLE
>
> Currently, since there's no ALTER TYPE RENAME command, this is useful
> functionality and I wouldn't want to forbid it.  But if we provide
> ALTER TYPE RENAME then consistency would suggest requiring people to
> use that for composite types.
>
I assume ALTER TYPE RENAME should rename associated relation too, then.

--
Regards
Petr Jelinek (PJMODOS)


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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: OpenSSL Applink
Следующее
От: Zdenek Kotala
Дата:
Сообщение: Re: pgcrypto: fix for broken solaris openssl, v03