pgsql: Allow ALTER TYPE .. ADD ATTRIBUTE .. CASCADE to recurse to desce

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Allow ALTER TYPE .. ADD ATTRIBUTE .. CASCADE to recurse to desce
Дата
Msg-id E1QCk9l-0002LN-7b@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix use of incorrect constant RemoveRoleFromObjectACL.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Avoid possible divide-by-zero in gincostestimate.