From: Alvaro Herrera <alvherre@commandprompt.com>
To: rikard.pavelic <rikard.pavelic@zg.htnet.hr>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #6489: Alter table with composite type/table
Date: Wed, 29 Feb 2012 11:40:31 -0300
Message-ID: <1330526250-sup-4780@alvh.no-ip.org> (raw)
In-Reply-To: <E1S1Han-0001M2-WB@wrigleys.postgresql.org>
References: <E1S1Han-0001M2-WB@wrigleys.postgresql.org>
Excerpts from rikard.pavelic's message of sáb feb 25 10:23:18 -0300 2012:
> But I would expect second alter to pass and enforcing not null and default
> when adding this column in table and not enforcing not null and default when
> adding into composite type for another table.
>
> Is this by design, oversight or a TODO?
I think this is more a TODO than anything else. Last year we discussed
something similar to this -- twice, even; IIRC, one was buried somewhere
in the discussion about "variant" types, if you want to search the
pgsql-hackers archives. As far as I recall, discussion died mainly
because no one had the time and/or energy to pursue it, not because it
was impossible.
--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: alvherre@commandprompt.com, rikard.pavelic@zg.htnet.hr
Subject: Re: BUG #6489: Alter table with composite type/table
In-Reply-To: <1330526250-sup-4780@alvh.no-ip.org>
References: <E1S1Han-0001M2-WB@wrigleys.postgresql.org> <1330526250-sup-4780@alvh.no-ip.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox