Skip site navigation (1) Skip section navigation (2)

Re: ALTER TYPE RENAME

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Petr Jelinek <pjmodos(at)pjmodos(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: ALTER TYPE RENAME
Date: 2007-09-29 17:32:36
Message-ID: 6270.1191087156@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: 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

In response to

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2007-09-29 18:34:00
Subject: Re: set_ps_display during recovery
Previous:From: Tom LaneDate: 2007-09-29 17:21:22
Subject: Re: ALTER TYPE RENAME

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group