]> granicus.if.org Git - postgresql/commit
Add more checks against altering typed tables
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 23 Jul 2010 20:04:09 +0000 (20:04 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 23 Jul 2010 20:04:09 +0000 (20:04 +0000)
commit3d903da124e5d121fd1f571cdb0021a357bbe4d6
treecb1b150fcfb9b802872847a0b3fb07d9ae065c9f
parentf53eeec2343fbb66c996b98e3006818fdc393f30
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
src/backend/commands/tablecmds.c
src/test/regress/expected/typed_table.out
src/test/regress/sql/typed_table.sql