| From: | petere(at)postgresql(dot)org (Peter Eisentraut) |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Add more checks against altering typed tables - Prohibit |
| Date: | 2010-07-23 20:04:18 |
| Message-ID: | 20100723200418.C38447541D5@cvs.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Log Message:
-----------
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
Modified Files:
--------------
pgsql/src/backend/commands:
tablecmds.c (r1.332 -> r1.333)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c?r1=1.332&r2=1.333)
pgsql/src/test/regress/expected:
typed_table.out (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/typed_table.out?r1=1.1&r2=1.2)
pgsql/src/test/regress/sql:
typed_table.sql (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/typed_table.sql?r1=1.1&r2=1.2)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2010-07-24 12:16:20 | pgsql: Remove tab from SGML file |
| Previous Message | Peter Eisentraut | 2010-07-23 20:04:09 | pgsql: Add more checks against altering typed tables - Prohibit |