Re: ALTER composite type does not work, but ALTER TABLE which ROWTYPE is used as a type - works fine

From: Andrew Chernow <ac(at)esilo(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Merlin Moncure <mmoncure(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, dmitry(at)koterov(dot)ru, pgsql-hackers(at)postgresql(dot)org
Subject: Re: ALTER composite type does not work, but ALTER TABLE which ROWTYPE is used as a type - works fine
Date: 2008-12-10 14:46:42
Message-ID: 493FD652.5030509@esilo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan wrote:
>
> This whole debate seems moot. We're not going to remove composite types
> created with CREATE TYPE, so the rest is irrelevant. We don't have the
> luxury of revisiting such decisions made many years ago, whether or not
> you think they were good.
>
>

You can always fix something. It can be deprecated in favor of a
cleaner and more elagant method.

My two cents ... I never use CREATE TYPE AS, seems redundant and
limited. I use CREATE TABLE and just never insert any records.

--
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2008-12-10 14:55:11 Re: Sync Rep: First Thoughts on Code
Previous Message Alvaro Herrera 2008-12-10 14:39:53 Re: ALTER composite type does not work, but ALTER TABLE which ROWTYPE is used as a type - works fine