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:09 |
Message-ID: | 20100723200409.528FC7541D5@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | 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
Tags:
----
REL9_0_STABLE
Modified Files:
--------------
pgsql/src/backend/commands:
tablecmds.c (r1.332 -> r1.332.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c?r1=1.332&r2=1.332.2.1)
pgsql/src/test/regress/expected:
typed_table.out (r1.1 -> r1.1.6.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/typed_table.out?r1=1.1&r2=1.1.6.1)
pgsql/src/test/regress/sql:
typed_table.sql (r1.1 -> r1.1.6.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/typed_table.sql?r1=1.1&r2=1.1.6.1)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2010-07-23 20:04:18 | pgsql: Add more checks against altering typed tables - Prohibit |
Previous Message | Robert Haas | 2010-07-23 14:56:54 | pgsql: Have psql avoid describing local sockets as host names. |