Re: [BUG?] strange behavior in ALTER TABLE ... RENAME TO on inherited columns
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thom Brown <thombrown@gmail.com>
Cc: Alvaro Herrera <alvherre@commandprompt.com>, KaiGai Kohei <kaigai@ak.jp.nec.com>, pgsql-hackers@postgresql.org
Date: 2009-11-04T14:41:31Z
Lists: pgsql-hackers
Thom Brown <thombrown@gmail.com> writes: > 2009/11/4 Alvaro Herrera <alvherre@commandprompt.com>: >> KaiGai Kohei wrote: >>> I think we should not allow to rename a column with attinhcount > 1. >> I think we should fix ALTER TABLE to cope with multiple inheritance. > I'd be interested to see how this should work. Yeah. I don't think a "fix" is possible, because there is no non-astonishing way for it to behave. I think KaiGai is right that forbidding the rename is the best solution. regards, tom lane