]> granicus.if.org Git - postgresql/commit
Allow ALTER TYPE .. ADD ATTRIBUTE .. CASCADE to recurse to descendants.
authorRobert Haas <rhaas@postgresql.org>
Thu, 21 Apr 2011 02:49:37 +0000 (22:49 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 21 Apr 2011 02:49:37 +0000 (22:49 -0400)
commita0e8df527ec24e8dba98f295c0e2ab6ccf3e5d2c
tree6fe1c2eb71bab3251bdece75b22bd009aaa46577
parent8ede427938e9676d0e497406c213f098303a93f3
Allow ALTER TYPE .. ADD ATTRIBUTE .. CASCADE to recurse to descendants.

Without this, adding an attribute to a typed table with an inheritance
child fails, which is surprising.

Noah Misch, with minor changes by me.
doc/src/sgml/ref/alter_type.sgml
src/backend/commands/tablecmds.c
src/test/regress/expected/alter_table.out
src/test/regress/sql/alter_table.sql