Fix failure to remove dependencies when a partition is detached.

Otherwise, dropping the partitioned table will automatically drop
any previously-detached children, which would be unfortunate.

Ashutosh Bapat and Rahila Syed, reviewed by Amit Langote and by me.

Discussion: 
http://postgr.es/m/cafjfprdowhugj45i25ilq4qitua0uh6rulx1h5ded4kbzj2...@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ee252f074b88e34ff7ac2b45a73d3cee12b1c671

Modified Files
--------------
src/backend/commands/tablecmds.c          | 35 ++++++++++++++++++-------------
src/test/regress/expected/alter_table.out | 13 ++++++++++++
src/test/regress/sql/alter_table.sql      | 10 +++++++++
3 files changed, 44 insertions(+), 14 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to