pgsql: Detach constraints when partitions are detached - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Detach constraints when partitions are detached
Date
Msg-id E1gmVI1-00071l-SO@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Detach constraints when partitions are detached
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ae366aa57762ad0e6a1a0885a7644e79541afe39

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(+)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Remove argument isprimary from index_build()
Next
From: Tom Lane
Date:
Subject: pgsql: Blind attempt to fix _configthreadlocale() failures on MinGW.