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-1e4ebe9b1...@lab.ntt.co.jp Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/00376eaa2ec28db92efe349a895164b0e31b314c Modified Files -------------- src/backend/commands/tablecmds.c | 18 ++++++++++++++++++ src/test/regress/expected/indexing.out | 15 +++++++++++++++ src/test/regress/sql/indexing.sql | 14 ++++++++++++++ 3 files changed, 47 insertions(+)