Fix failure to remove dependencies when a partition is detached.

Robert Haas <rhaas@postgresql.org>

Commit: ee252f074b88e34ff7ac2b45a73d3cee12b1c671
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-06-13T15:51:42Z
Releases: 10.0
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/CAFjFpRdOwHuGj45i25iLQ4QituA0uH6RuLX1h5deD4KBZJ25yg@mail.gmail.com

Files

Discussion