]> granicus.if.org Git - postgresql/commit
Fix failure to remove dependencies when a partition is detached.
authorRobert Haas <rhaas@postgresql.org>
Tue, 13 Jun 2017 15:51:42 +0000 (11:51 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 13 Jun 2017 15:51:42 +0000 (11:51 -0400)
commitee252f074b88e34ff7ac2b45a73d3cee12b1c671
tree0f9ddbd134e412e05954b52d015e8fc157d1df9b
parent506b565831e6c88666c18a467377c2f98066ccac
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
src/backend/commands/tablecmds.c
src/test/regress/expected/alter_table.out
src/test/regress/sql/alter_table.sql