Add more checks against altering typed tables
Peter Eisentraut <peter_e@gmx.net>
Add more checks against altering typed tables - Prohibit altering column type - Prohibit changing inheritance - Move checks from Exec to Prep phases in ALTER TABLE code backpatched to 9.0
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/tablecmds.c | modified | +44 −17 |
| src/test/regress/expected/typed_table.out | modified | +7 −0 |
| src/test/regress/sql/typed_table.sql | modified | +6 −0 |