]> granicus.if.org Git - postgresql/commit
Detach constraints when partitions are detached
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 24 Jan 2019 02:57:46 +0000 (23:57 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 24 Jan 2019 03:01:32 +0000 (00:01 -0300)
commitae366aa57762ad0e6a1a0885a7644e79541afe39
treedcfced79b7f569908f7478cd7616788d481623c2
parent289198c0d93a3d591f379c4134e90275bd426426
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
src/backend/commands/tablecmds.c
src/test/regress/expected/indexing.out
src/test/regress/sql/indexing.sql