Detach constraints when partitions are detached

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

Commit: 00376eaa2ec28db92efe349a895164b0e31b314c
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2019-01-24T02:57:46Z
Releases: 11.2
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