From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Detach constraints when partitions are detached |
Date: | 2019-01-24 03:02:49 |
Message-ID: | E1gmVI1-00071m-ST@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
------
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(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2019-01-24 03:47:34 | pgsql: Blind attempt to fix _configthreadlocale() failures on MinGW. |
Previous Message | Michael Paquier | 2019-01-23 23:01:00 | pgsql: Remove argument isprimary from index_build() |