pgsql: Allow ALTER TYPE .. ADD ATTRIBUTE .. CASCADE to recurse to desce - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Allow ALTER TYPE .. ADD ATTRIBUTE .. CASCADE to recurse to desce
Date
Msg-id E1QCk9l-0002LN-7b@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Allow ALTER TYPE .. ADD ATTRIBUTE .. CASCADE to recurse to descendants.

Without this, adding an attribute to a typed table with an inheritance
child fails, which is surprising.

Noah Misch, with minor changes by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a0e8df527ec24e8dba98f295c0e2ab6ccf3e5d2c

Modified Files
--------------
doc/src/sgml/ref/alter_type.sgml          |    2 +-
src/backend/commands/tablecmds.c          |    5 +++--
src/test/regress/expected/alter_table.out |   15 +++++++++++++++
src/test/regress/sql/alter_table.sql      |    4 ++++
4 files changed, 23 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Fix use of incorrect constant RemoveRoleFromObjectACL.
Next
From: Tom Lane
Date:
Subject: pgsql: Avoid possible divide-by-zero in gincostestimate.