Re: ALTER TYPE RENAME - Mailing list pgsql-patches

From Tom Lane
Subject Re: ALTER TYPE RENAME
Date
Msg-id 6270.1191087156@sss.pgh.pa.us
Whole thread Raw
In response to ALTER TYPE RENAME  (Petr Jelinek <pjmodos@pjmodos.net>)
Responses Re: ALTER TYPE RENAME  (Petr Jelinek <pjmodos@pjmodos.net>)
List pgsql-patches
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.

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: ALTER TYPE RENAME
Next
From: Tom Lane
Date:
Subject: Re: set_ps_display during recovery