]> 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:18 +0000 (20:04 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 23 Jul 2010 20:04:18 +0000 (20:04 +0000)
commit0156840e4e4647bef6c6278265b748c8a799e317
treebcd4d6b77b305378563ef6700d56251767a6995a
parent87e0b7422d70ff4fb69612ef7ba3cbee6ed8d2ae
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