Detach constraints when partitions are detached

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: ae366aa57762ad0e6a1a0885a7644e79541afe39
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2019-01-24T03:01:32Z
Releases: 12.0
Detach constraints when partitions are detached

I (Álvaro) forgot to do this in eb7ed3f30634, leading to undroppable
constraints after partitions are detached.  Repair.

Reported-by: Amit Langote
Author: Amit Langote
Discussion: https://postgr.es/m/c1c9b688-b886-84f7-4048-1e4ebe9b1d06@lab.ntt.co.jp

Files

Discussion