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.
Showing
- doc/src/sgml/ref/alter_type.sgml 1 addition, 1 deletiondoc/src/sgml/ref/alter_type.sgml
- src/backend/commands/tablecmds.c 3 additions, 2 deletionssrc/backend/commands/tablecmds.c
- src/test/regress/expected/alter_table.out 15 additions, 0 deletionssrc/test/regress/expected/alter_table.out
- src/test/regress/sql/alter_table.sql 4 additions, 0 deletionssrc/test/regress/sql/alter_table.sql
Loading
Please register or sign in to comment