Propagate ALTER TYPE operations to typed tables
Peter Eisentraut <peter_e@gmx.net>
Propagate ALTER TYPE operations to typed tables This adds RESTRICT/CASCADE flags to ALTER TYPE ... ADD/DROP/ALTER/ RENAME ATTRIBUTE to control whether to alter typed tables as well.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/alter_type.sgml | modified | +24 −4 |
| src/backend/commands/alter.c | modified | +1 −5 |
| src/backend/commands/tablecmds.c | modified | +109 −42 |
| src/backend/nodes/copyfuncs.c | modified | +1 −0 |
| src/backend/nodes/equalfuncs.c | modified | +1 −0 |
| src/backend/parser/gram.y | modified | +13 −10 |
| src/include/commands/tablecmds.h | modified | +1 −5 |
| src/include/nodes/parsenodes.h | modified | +1 −0 |
| src/test/regress/expected/alter_table.out | modified | +88 −1 |
| src/test/regress/sql/alter_table.sql | modified | +19 −1 |